Skip to main content

framed_read

Function framed_read 

Source
pub fn framed_read<R: AsyncRead>(
    reader: R,
) -> FramedRead<R, LengthDelimitedCodec>
Expand description

Wrap an AsyncRead with length-delimited codec framing for reading protocol messages.