Skip to main content

to_root

Function to_root 

Source
pub fn to_root<T: Object + Serialize>(
    value: &T,
) -> Result<Vec<u8>, CanonicalError>
Expand description

The canonical encoding of value as a root object: its members and its type.