pub trait ObjectVisitor {
// Required methods
fn visit(&mut self, type_name: &str, value: &[u8]) -> Result<bool, Error>;
fn skip(&mut self) -> Result<bool, Error>;
}Expand description
Receives objects decoded from a block payload, in payload order.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".