[−][src]Crate tokio_codec
Utilities for encoding and decoding frames.
Note: This crate is deprecated in tokio 0.2.x and has been moved into
tokio_util::codec
of thetokio-util
crate behind thecodec
feature flag.
Contains adapters to go from streams of bytes, AsyncRead
and
AsyncWrite
, to framed streams implementing Sink
and Stream
.
Framed streams are also known as transports.
Structs
BytesCodec | A simple |
Framed | A unified |
FramedParts |
|
FramedRead | A |
FramedWrite | A |
LinesCodec | A simple |
Traits
Decoder | Decoding of frames via buffers. |
Encoder | Trait of helper objects to write out messages as bytes, for use with
|