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.
pub fn encode<W: Write, E: Encode + ?Sized>(
w: W,
e: &E,
) -> Result<(), EncodeError>Encode an encodable type into a type which implements std::io::Write.