[][src]Function anachro_client::from_bytes

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

Deserialize a message of type T from a byte slice. The unused portion (if any) of the byte slice is not returned.