pub trait Serializeable {
// Required method
fn serialize<W: DataOutput + ?Sized>(&self, output: &mut W) -> Result<()>;
}
Expand description
A trait for types that can be serialized as a sequence of bytes according to LCS 4
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.