Skip to main content

from_slice

Function from_slice 

Source
pub fn from_slice<T: for<'a> Deserialize<'a> + StrongType>(
    arg: &[u8],
) -> Result<T, String>
Expand description

Function that deserializes the binary data into the requested structure with type safety checks.