Skip to main content

try_decode_from_bytes

Function try_decode_from_bytes 

Source
pub fn try_decode_from_bytes(
    buf: &mut BytesMut,
) -> ProtocolResult<Option<Message>>
Expand description

Decode one complete typed frame from a cursor-based buffer without front-draining it.