from_bytes

Function from_bytes 

Source
pub fn from_bytes<'a, T: Debug + Deserialize<'a>>(bytes: &'a [u8]) -> Result<T>
Expand description

Reconstruct a type from array of bytes such as Msg Reconstructed type must be serde json Derserialize