from_bytes

Function from_bytes 

Source
pub fn from_bytes<A, R>(source: &mut R) -> Result<A, Error>
where A: Deserial, R: ReadBytesExt,
Expand description

A small wrapper that is sometimes more convenient than A::deserial. It is here mostly for historical reasons, for backwards compatibility.