Struct ic_utils::canister::AsyncCallBuilder[][src]

pub struct AsyncCallBuilder<'agent, 'canister: 'agent, T> { /* fields omitted */ }
Expand description

A builder for an asynchronous call (ie. update) to the Internet Computer.

See AsyncCaller for a description of this structure.

Implementations

Add an argument to the candid argument list. This requires Candid arguments, if there is a raw argument set (using [with_arg_raw]), this will fail.

Replace the argument with raw argument bytes. This will overwrite the current argument set, so calling this method twice will discard the first argument.

Builds an AsyncCaller from this builder’s state.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.