pub fn decode_from_bytes<T>(bytes: Bytes) -> Result<T, Error>
where T: Decode,
Expand description

Decodes a given T from Bytes.