pub trait SendFormat {
// Required method
fn serialize<O: Serialize>(obj: &O) -> Result<Vec<u8>>;
}Expand description
trait that represents the serialize side of a format
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".