Enum candid::parser::test::HostAssert[][src]

pub enum HostAssert {
    Encode(IDLArgs, Vec<Type>, bool, Vec<u8>),
    NotEncode(IDLArgs, Vec<Type>),
    Decode(Vec<u8>, Vec<Type>, bool, IDLArgs),
    NotDecode(Vec<u8>, Vec<Type>),
}

Variants

Encode

Tuple Fields of Encode

0: IDLArgs1: Vec<Type>2: bool3: Vec<u8>
NotEncode

Tuple Fields of NotEncode

0: IDLArgs1: Vec<Type>
Decode

Tuple Fields of Decode

0: Vec<u8>1: Vec<Type>2: bool3: IDLArgs
NotDecode

Tuple Fields of NotDecode

0: Vec<u8>1: Vec<Type>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.