ron::de

Function from_bytes

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

A convenience function for building a deserializer and deserializing a value of type T from bytes.