Crate serde_stream

Source
Expand description

This library adds SerdeRead and SerdeWrite, both for std and tokio variants.

For both implementations, use the full flag.

It uses MessagePack (https://crates.io/crates/rmp-serde) for both serialization and deserialization.

Before sending the serialized data, it sends the amount of bytes that will be sent.

Modules§

std_stream
SerdeRead and SerdeWrite implementations for std [Read] and [Write]
tokio_stream
SerdeRead and SerdeWrite implementations for tokio [AsyncReadExt] and [AsyncWriteExt]

Enums§

Error