Trait Serialize
pub trait Serialize<O = Vec<u8>> {
type Error;
// Required method
fn serialize(&self) -> Result<O, Self::Error>;
}Available on (crate features
rustls or boring or acme) and crate feature rustls only.Expand description
Common trait for structures serialization
Required Associated Types§
type Error
type Error
Type of serialization error