pub enum MgmtMethod {
Show 34 variants
CreateCanister,
InstallCode,
StartCanister,
StopCanister,
CanisterStatus,
DeleteCanister,
DepositCycles,
RawRand,
ProvisionalCreateCanisterWithCycles,
ProvisionalTopUpCanister,
UninstallCode,
UpdateSettings,
UploadChunk,
ClearChunkStore,
StoredChunks,
InstallChunkedCode,
FetchCanisterLogs,
TakeCanisterSnapshot,
LoadCanisterSnapshot,
ListCanisterSnapshots,
DeleteCanisterSnapshot,
ReadCanisterSnapshotMetadata,
ReadCanisterSnapshotData,
UploadCanisterSnapshotMetadata,
UploadCanisterSnapshotData,
EcdsaPublicKey,
SignWithEcdsa,
BitcoinGetBalance,
BitcoinGetUtxos,
BitcoinSendTransaction,
BitcoinGetCurrentFeePercentiles,
BitcoinGetBlockHeaders,
NodeMetricsHistory,
CanisterInfo,
}Expand description
All the known methods of the management canister.
Variants§
CreateCanister
InstallCode
StartCanister
StopCanister
CanisterStatus
DeleteCanister
DepositCycles
RawRand
ProvisionalCreateCanisterWithCycles
ProvisionalTopUpCanister
UninstallCode
UpdateSettings
UploadChunk
ClearChunkStore
StoredChunks
InstallChunkedCode
FetchCanisterLogs
TakeCanisterSnapshot
LoadCanisterSnapshot
ListCanisterSnapshots
DeleteCanisterSnapshot
ReadCanisterSnapshotMetadata
ReadCanisterSnapshotData
UploadCanisterSnapshotMetadata
UploadCanisterSnapshotData
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. Use BitcoinCanister instead.
BitcoinGetUtxos
There is no corresponding agent function as only canisters can call it. Use BitcoinCanister instead.
BitcoinSendTransaction
There is no corresponding agent function as only canisters can call it. Use BitcoinCanister instead.
BitcoinGetCurrentFeePercentiles
There is no corresponding agent function as only canisters can call it. Use BitcoinCanister instead.
BitcoinGetBlockHeaders
There is no corresponding agent function as only canisters can call it. Use BitcoinCanister instead.
NodeMetricsHistory
There is no corresponding agent function as only canisters can call it.
CanisterInfo
There is no corresponding agent function as only canisters can call it.
Trait Implementations§
Source§impl AsRef<str> for MgmtMethod
impl AsRef<str> for MgmtMethod
Source§impl Debug for MgmtMethod
impl Debug for MgmtMethod
Source§impl Display for MgmtMethod
impl Display for MgmtMethod
Source§impl FromStr for MgmtMethod
impl FromStr for MgmtMethod
Auto Trait Implementations§
impl Freeze for MgmtMethod
impl RefUnwindSafe for MgmtMethod
impl Send for MgmtMethod
impl Sync for MgmtMethod
impl Unpin for MgmtMethod
impl UnwindSafe for MgmtMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.