Function preserves::de::from_bytes

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

Deserialize a T from bytes, which must contain a Preserves machine-oriented binary syntax term corresponding to the Serde serialization of a T.