Function ron::de::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.