encode

Function encode 

Source
pub fn encode<W: Write, E: Encode + ?Sized>(
    w: W,
    e: &E,
) -> Result<(), EncodeError>
Expand description

Encode an encodable type into a type which implements std::io::Write.