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

pub enum HostAssert {
    Encode(IDLArgsVec<Type>, boolVec<u8>),
    NotEncode(IDLArgsVec<Type>),
    Decode(Vec<u8>, Vec<Type>, boolIDLArgs),
    NotDecode(Vec<u8>, Vec<Type>),
}

Variants

Encode(IDLArgsVec<Type>, boolVec<u8>)

Tuple Fields of Encode

0: IDLArgs1: Vec<Type>2: bool3: Vec<u8>
NotEncode(IDLArgsVec<Type>)

Tuple Fields of NotEncode

0: IDLArgs1: Vec<Type>
Decode(Vec<u8>, Vec<Type>, boolIDLArgs)

Tuple Fields of Decode

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

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.