Function from_bytes

Source
pub fn from_bytes<'a, T>(s: &'a [u8]) -> Result<T, Error>
where T: Deserialize<'a>,