pub trait Encode: Sized {
// Required method
fn encode<W>(self, out: &mut W) -> Result<(), Error>
where W: Sink<Error = Error>;
}Expand description
Consumes one body into the admitted output without repeating its size check.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".