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.
pub fn try_decode_from_bytes(
buf: &mut BytesMut,
) -> ProtocolResult<Option<Message>>Decode one complete typed frame from a cursor-based buffer without front-draining it.