[][src]Crate tokio_serde_bincode

Stream and Sink adaptors for serializing and deserializing values using Bincode.

This crate provides adaptors for going from a stream or sink of buffers (Bytes) to a stream or sink of values by performing Bincode encoding or decoding. It is expected that each yielded buffer contains a single serialized Bincode value. The specific strategy by which this is done is left up to the user. One option is to use using length_delimited from tokio-io.



Adapts a stream of Bincode encoded buffers to a stream of values by deserializing them.


Adapts a buffer sink to a value sink by serializing the values as Bincode.