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
Fabian Grünbichler
9ba2092d1b
proxmox-async: rustfmt (again)
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-02-08 14:52:42 +01:00
Fabian Grünbichler
09d1344d61
proxmox-async: another clippy fixup
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-02-08 14:33:50 +01:00
Wolfgang Bumiller
de891b1f76
proxmox_async: rustfmt
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-02-02 12:55:01 +01:00
Dietmar Maurer
cab125297b
proxmox-async: improve dev docs
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2021-11-20 17:07:52 +01: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