pub trait EpeeObjectBuilder<T>: Default + Sized {
// Required methods
fn add_field<B: Buf>(&mut self, name: &str, b: &mut B) -> Result<bool>;
fn finish(self) -> Result<T>;
}
Expand description
A trait for an object that can build a type T
from the epee format.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.