Commit Graph

3 Commits

Author SHA1 Message Date
Dominik Csapak
9471ba9969 proxmox-async: add SenderWriter helper
this wraps around a tokio Sender for Vec<u8>, but implements a blocking
write. We can use thas as an adapter for something that only takes a
writer, and can read from it asynchonously

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-12 14:05:14 +02:00
Dietmar Maurer
7b7247fa80 proxmox-async: move TokioWriterAdapter to blocking
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 16:38:36 +01:00
Dietmar Maurer
fa2032c7aa proxmox-async: split blocking.rs into separate files 2021-11-20 15:58:04 +01:00