Function decode

Source
pub fn decode<O>(bytes: &[u8]) -> Result<O, ErrorKind>
where O: for<'a> Deserialize<'a>,
Expand description

Decode bytes into specified serde::Deserialize implementor.