from_slice

Function from_slice 

Source
pub fn from_slice(s: &[u8]) -> Result<Data>
Expand description

Attempts to deserialize a Data struct from a slice of bytes