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