Function from_bytes

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