Trait candid::types::Compound[][src]

pub trait Compound {
    type Error;
    fn serialize_element<T: ?Sized>(&mut self, v: &T) -> Result<(), Self::Error>
    where
        T: CandidType
; }

Associated Types

Required methods

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

Implementors

impl<'a> Compound for Compound<'a>[src]

type Error = Error

fn serialize_element<T: ?Sized>(&mut self, value: &T) -> Result<()> where
    T: CandidType
[src]

fn serialize_blob(&mut self, blob: &[u8]) -> Result<()>[src]