pub trait MarshalSize: Send + Sync {
// Required method
fn marshal_size(&self) -> usize;
}Expand description
Required Methods§
Sourcefn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
The number of bytes Marshal::marshal_to will write for this value.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".