Module wire_framed::codec

source ·

Modules

Structs

  • A simple Decoder and Encoder implementation that splits up data into chunks based on any character in the given delimiter string.
  • A simple Decoder and Encoder implementation that just ships bytes around.
  • Codec type for [Message] that implements [tokio_util::codec::Decoder] and [tokio_util::codec::Encoder].
  • A unified Stream and Sink interface to an underlying I/O object, using the Encoder and Decoder traits to encode and decode frames.
  • FramedParts contains an export of the data of a Framed transport. It can be used to construct a new Framed with a different codec. It contains all current buffers and the inner transport.
  • A Stream of messages decoded from an AsyncRead.
  • A Sink of frames encoded to an AsyncWrite.
  • 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.
  • A simple Decoder and Encoder implementation that splits up data into lines.

Enums