Module wire_framed_core::codec
source · Modules
- Frame a stream of bytes based on a length prefix
Structs
FramedPartscontains an export of the data of a Framed transport. It can be used to construct a newFramedwith a different codec. It contains all current buffers and the inner transport.- A codec for frames delimited by a frame head specifying their lengths.
- An error when the number of bytes read is more than max frame length.
Enums
- An error occurred while encoding or decoding a chunk.
- An error occurred while encoding or decoding a line.
Traits
- Decoding of frames via buffers.
- Trait of helper objects to write out messages as bytes, for use with
FramedWrite.