pub enum MgmtMethod {
    CreateCanister,
    InstallCode,
    StartCanister,
    StopCanister,
    CanisterStatus,
    DeleteCanister,
    DepositCycles,
    RawRand,
    ProvisionalCreateCanisterWithCycles,
    ProvisionalTopUpCanister,
    UninstallCode,
    UpdateSettings,
}
Expand description

All the known methods of the management canister.

Variants

CreateCanister

See Canister::<ManagementCanister>::create_canister.

InstallCode

See Canister::<ManagementCanister>::install_code.

StartCanister

See Canister::<ManagementCanister>::start_canister.

StopCanister

See Canister::<ManagementCanister>::stop_canister.

CanisterStatus

See Canister::<ManagementCanister>::canister_status.

DeleteCanister

See Canister::<ManagementCanister>::delete_canister.

DepositCycles

See Canister::<ManagementCanister>::deposit_cycles.

RawRand

See Canister::<ManagementCanister>::raw_rand.

ProvisionalCreateCanisterWithCycles

See Canister::<ManagementCanister>::provisional_create_canister_with_cycles.

ProvisionalTopUpCanister

See Canister::<ManagementCanister>::provisional_top_up_canister.

UninstallCode

See Canister::<ManagementCanister>::uninstall_code.

UpdateSettings

See Canister::<ManagementCanister>::update_settings.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.
Formats the value using the given formatter. Read more
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more
The type returned in the event of a conversion error.
Performs the conversion.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.