pub fn try_from_slice_with_schema<T>(v: &[u8]) -> Result<T, Error>
Expand description

Deserialize this instance from a slice of bytes, but assume that at the beginning we have bytes describing the schema of the type. We deserialize this schema and verify that it is correct.