Trait Record
pub trait Record {
// Required methods
fn encode(&self, out: &mut Writer);
fn apply(&mut self, bytes: &[u8]) -> Result<(), WireError>;
}Expand description
A mutable hook argument, erased without changing its wire representation. Replies are decoded completely before any field is assigned.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".