pub trait Encode: Write {
    fn encode_msg(&mut self, msg: impl Encodable) -> Result<()> { ... }
}
Available on crate feature std only.
Expand description

A trait to encode a type onto this std::io::Write

Provided Methods§

Encode the given type

Implementors§