Trait candid::types::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§

source§

impl<'a> Compound for Compound<'a>

§

type Error = Error