Expand description
Utility methods to encode or decode wire protocol messages in CBOR format.
Structs§
- Cbor
Codec - Implementation of the tokio codec traits to encode- and decode CBOR data as a stream.
Functions§
- into_
cbor_ sink - Returns a writer for your data type, automatically encoding it as CBOR for a framed byte-stream.
- into_
cbor_ stream - Returns a reader for your data type, automatically decoding CBOR byte-streams and handling the message framing.