Skip to main content

encode

Function encode 

Source
pub fn encode<T, W>(x: T, w: W) -> Result<(), Error<<W as Write>::Error>>
where T: Encode<()>, W: Write,
Expand description

Encode a type implementing Encode to the given encode::Write impl.