pub fn decode<O>(bytes: &[u8]) -> Result<O, ErrorKind>where
O: for<'a> Deserialize<'a>,
Expand description
Decode bytes into specified serde::Deserialize
implementor.
pub fn decode<O>(bytes: &[u8]) -> Result<O, ErrorKind>where
O: for<'a> Deserialize<'a>,
Decode bytes into specified serde::Deserialize
implementor.