[−][src]Function rustt::from_bytes
pub fn from_bytes<'a, T>(s: &'a [u8]) -> Result<T, Error> where
T: Deserialize<'a>,
Deserialize an instance of type T
from a TT byte slice
Errors
If the data coming in doesnt match Type T
an error will be returned
Any IO error will lso cause an error.