from_slice

Function from_slice 

Source
pub fn from_slice<'a, T>(v: &'a [u8]) -> Result<T, Error>
where T: Deserialize<'a>,