pub trait Writer {
// Required method
fn write(&mut self, bytes: &[u8]) -> Result<(), EncodeError>;
}Expand description
Trait that indicates that a struct can be used as a destination to encode data too. This is used by Encode
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".