pub trait Serialize: Serial + Deserial { }
Expand description
The Serialize
trait provides a means of writing structures into byte-sinks
(Write
) or reading structures from byte sources (Read
).
Can be derived using #[derive(Serialized)]
for most cases.
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.