candid::types

Trait Compound

source
pub trait Compound {
    type Error;

    // Required method
    fn serialize_element<T>(&mut self, v: &T) -> Result<(), Self::Error>
       where T: CandidType + ?Sized;
}

Required Associated Types§

Required Methods§

source

fn serialize_element<T>(&mut self, v: &T) -> Result<(), Self::Error>
where T: CandidType + ?Sized,

Object Safety§

This trait is not object safe.

Implementors§