Skip to main content

encode

Function encode 

Source
pub fn encode<T: Serialize>(value: &T) -> Result<Vec<u8>, CodecError>
Expand description

Encode a value the way a real driver would: once, at the boundary, with no intermediate representation.