Trait candid::utils::ArgumentDecoder
source · [−]pub trait ArgumentDecoder<'a>: Sized {
fn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>;
}
Expand description
Allow decoding of any sized argument.
Required methods
fn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>
fn decode(de: &mut IDLDeserialize<'a>) -> Result<Self>
Decodes a value of type Self, modifying the deserializer (values are consumed).
Implementations on Foreign Types
sourceimpl<'a> ArgumentDecoder<'a> for ()
impl<'a> ArgumentDecoder<'a> for ()
Decode an empty tuple.