pub fn into_codec_stream<M, T>(
rx: T,
) -> impl Stream<Item = Result<M, CodecError>> + Unpin + use<M, T>Expand description
Returns a reader for your wire-protocol messages, automatically decoding byte-streams and handling the framing.
pub fn into_codec_stream<M, T>(
rx: T,
) -> impl Stream<Item = Result<M, CodecError>> + Unpin + use<M, T>Returns a reader for your wire-protocol messages, automatically decoding byte-streams and handling the framing.