pub enum MgmtMethod {
Show 26 variants CreateCanister, InstallCode, StartCanister, StopCanister, CanisterStatus, DeleteCanister, DepositCycles, RawRand, ProvisionalCreateCanisterWithCycles, ProvisionalTopUpCanister, UninstallCode, UpdateSettings, UploadChunk, ClearChunkStore, StoredChunks, InstallChunkedCode, FetchCanisterLogs, EcdsaPublicKey, SignWithEcdsa, BitcoinGetBalance, BitcoinGetBalanceQuery, BitcoinGetUtxos, BitcoinGetUtxosQuery, BitcoinSendTransaction, BitcoinGetCurrentFeePercentiles, NodeMetricsHistory,
}
Expand description

All the known methods of the management canister.

Variants§

§

CreateCanister

§

InstallCode

§

StartCanister

§

StopCanister

§

CanisterStatus

§

DeleteCanister

§

DepositCycles

§

RawRand

§

ProvisionalCreateCanisterWithCycles

See [ManagementCanister::provisional_create_canister_with_cycles].

§

ProvisionalTopUpCanister

§

UninstallCode

§

UpdateSettings

§

UploadChunk

§

ClearChunkStore

§

StoredChunks

§

InstallChunkedCode

§

FetchCanisterLogs

§

EcdsaPublicKey

There is no corresponding agent function as only canisters can call it.

§

SignWithEcdsa

There is no corresponding agent function as only canisters can call it.

§

BitcoinGetBalance

There is no corresponding agent function as only canisters can call it.

§

BitcoinGetBalanceQuery

§

BitcoinGetUtxos

There is no corresponding agent function as only canisters can call it.

§

BitcoinGetUtxosQuery

§

BitcoinSendTransaction

There is no corresponding agent function as only canisters can call it.

§

BitcoinGetCurrentFeePercentiles

There is no corresponding agent function as only canisters can call it.

§

NodeMetricsHistory

There is no corresponding agent function as only canisters can call it.

Trait Implementations§

source§

impl AsRef<str> for MgmtMethod

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for MgmtMethod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for MgmtMethod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromStr for MgmtMethod

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<MgmtMethod, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl TryFrom<&str> for MgmtMethod

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<MgmtMethod, <Self as TryFrom<&str>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V