Enum ic_utils::interfaces::management_canister::MgmtMethod
source · [−]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
sourceimpl AsRef<str> for MgmtMethod
impl AsRef<str> for MgmtMethod
sourceimpl Debug for MgmtMethod
impl Debug for MgmtMethod
sourceimpl FromStr for MgmtMethod
impl FromStr for MgmtMethod
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for MgmtMethod
impl TryFrom<&str> for MgmtMethod
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for MgmtMethod
impl Send for MgmtMethod
impl Sync for MgmtMethod
impl Unpin for MgmtMethod
impl UnwindSafe for MgmtMethod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more