Skip to main content

encode

Function encode 

Source
pub fn encode<T: Serialize + Debug>(
    val: &T,
) -> Result<Vec<u8>, SerializedBytesError>