Skip to main content

Serialize

Trait Serialize 

Source
pub trait Serialize: SealedInternal {
    // Required methods
    fn serialize(&self) -> Result<Vec<u8>, SerializeError>;
    fn serialized_len(&self) -> usize;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> Serialize for T
where T: UpbGetMessagePtr,