trait Out {
// Required method
fn put(&mut self, bytes: &[u8]);
// Provided method
fn byte(&mut self, byte: u8) { ... }
}Expand description
Where a message’s bytes go: written (Vec), or counted (Count).
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".