Crate actix_codec[−][src]
Codec utilities for working with framed protocols.
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 | Bytes codec. |
Framed | A unified |
FramedParts |
|
ReadBuf | A wrapper around a byte buffer that is incrementally filled and initialized. |
Traits
AsyncRead | Reads bytes from a source. |
AsyncWrite | Writes bytes asynchronously. |
Decoder | Decoding of frames via buffers. |
Encoder | Trait of helper objects to write out messages as bytes, for use with
|
Functions
poll_read_buf | Try to read data from an |