Skip to main content

BytesFramed

Type Alias BytesFramed 

Source
pub type BytesFramed<R, W> = Framed<R, W, BytesCodec, NoopFramer, Bytes, Bytes>;
Available on crate features io and bytes only.
Expand description

Framed that bridges AsyncRead/AsyncWrite with Bytes.

This is useful when you want to read/write raw bytes into/from Bytes without any additional framing or de/encoding.

See also: ReaderStream and ReaderStream.

Aliased Typeยง

pub struct BytesFramed<R, W> { /* private fields */ }