serde_brief

Function from_slice

source
pub fn from_slice<'de, T>(bytes: &'de [u8]) -> Result<T>
where T: Deserialize<'de>,
Expand description

Deserialize a type from a slice of bytes.