proxmox/proxmox-router
Dominik Csapak f585722aad proxmox-router: add new ApiHandler variants for streaming serialization
they should behave like their normal variants, but return a
`Box<dyn SerializableReturn + Send>` instead of a value. This is useful
since we do not have to generate the `Value` in-memory, but can
stream the serialization to the client.

We cannot simply use a `Box<dyn serde::Serialize>`, because that trait
is not object-safe and thus cannot be used as a trait-object.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-12 14:23:05 +02:00
..
debian proxmox-router: bump to 1.1.1 2021-12-01 13:22:26 +01:00
src proxmox-router: add new ApiHandler variants for streaming serialization 2022-04-12 14:23:05 +02:00
Cargo.toml promxox-router: add SerializableReturn Trait 2022-04-12 14:23:05 +02:00