Enum ic_cdk::api::management_canister::main::CanisterStatusType
source · pub enum CanisterStatusType {
Running,
Stopping,
Stopped,
}
Expand description
Status of a canister.
Variants§
Running
The canister is running.
Stopping
The canister is stopping.
Stopped
The canister is stopped.
Trait Implementations§
source§impl CandidType for CanisterStatusType
impl CandidType for CanisterStatusType
source§impl Clone for CanisterStatusType
impl Clone for CanisterStatusType
source§fn clone(&self) -> CanisterStatusType
fn clone(&self) -> CanisterStatusType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CanisterStatusType
impl Debug for CanisterStatusType
source§impl<'de> Deserialize<'de> for CanisterStatusType
impl<'de> Deserialize<'de> for CanisterStatusType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for CanisterStatusType
impl Hash for CanisterStatusType
source§impl Ord for CanisterStatusType
impl Ord for CanisterStatusType
source§fn cmp(&self, other: &CanisterStatusType) -> Ordering
fn cmp(&self, other: &CanisterStatusType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CanisterStatusType> for CanisterStatusType
impl PartialEq<CanisterStatusType> for CanisterStatusType
source§fn eq(&self, other: &CanisterStatusType) -> bool
fn eq(&self, other: &CanisterStatusType) -> bool
source§impl PartialOrd<CanisterStatusType> for CanisterStatusType
impl PartialOrd<CanisterStatusType> for CanisterStatusType
source§fn partial_cmp(&self, other: &CanisterStatusType) -> Option<Ordering>
fn partial_cmp(&self, other: &CanisterStatusType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more