Struct ic_utils::interfaces::management_canister::builders::UpdateCanisterBuilder[][src]

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

Implementations

Create an UpdateCanister builder, which is also an AsyncCall implementation.

Pass in an optional controller for the canister. If this is None, it will revert the controller to default.

Pass in a designated controller for the canister.

Pass in a compute allocation optional value for the canister. If this is None, it will revert the compute allocation to default.

Pass in a compute allocation value for the canister.

Pass in a memory allocation optional value for the canister. If this is None, it will revert the memory allocation to default.

Pass in a memory allocation value for the canister.

Pass in a freezing threshold optional value for the canister. If this is None, it will revert the freezing threshold to default.

Pass in a freezing threshold value for the canister.

Create an AsyncCall implementation that, when called, will update a canisters settings.

Make a call. This is equivalent to the AsyncCall::call.

Make a call. This is equivalent to the AsyncCall::call_and_wait.

Trait Implementations

Execute the call, but returns the RequestId. Waiting on the request Id must be managed by the caller using the Agent directly. Read more

Execute the call, and wait for an answer using a Waiter strategy. The return type is encoded in the trait. Read more

Apply a transformation function after the call has been successful. The transformation is applied with the result. Read more

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.