Macro candid::Decode[][src]

macro_rules! Decode {
    ( $hex:expr $(,$ty:ty)* ) => { ... };
    (@GetValue [$($ans:ident)*] $de:ident $ty:ty, $($tail:ty,)* ) => { ... };
    (@GetValue [$($ans:ident)*] $de:ident) => { ... };
}
Expand description

Decode Candid message into a tuple of Rust values of the given types. Produces Err if the message fails to decode at any given types. If the message contains only one value, it returns the value directly instead of a tuple.