pub fn from_slice<'a, T>(buf: &'a [u8]) -> Result<T, Error<Infallible>> where
    T: Deserialize<'a>, 
Expand description

Decodes a value from a bytes.