from_bytes

Function from_bytes 

Source
pub fn from_bytes<'de, T>(decoder: &mut Decoder, bytes: &mut Bytes) -> Result<T>
where T: Deserialize<'de>,
Expand description

Decode single message from bytes::Bytes.