pub fn deserialize_from<'de, T>(src: &mut impl Reader<'de>) -> ReadResult<T>where
T: SchemaReadOwned<Dst = T>,Expand description
Deserialize a type from the given bytes into the given target.
Like deserialize, but allows the caller to provide their own reader.
Because not all readers will support zero-copy deserialization, this function
requires SchemaReadOwned instead of SchemaRead. If you are deserializing
from raw bytes, always prefer deserialize for maximum flexibility.