pub enum CanisterStatus {
Running,
Stopping,
Stopped,
}
Expand description
The status of a Canister, whether it’s running, in the process of stopping, or stopped.
Variants§
Running
The canister is currently running.
Stopping
The canister is in the process of stopping.
Stopped
The canister is stopped.
Trait Implementations§
source§impl CandidType for CanisterStatus
impl CandidType for CanisterStatus
source§impl Clone for CanisterStatus
impl Clone for CanisterStatus
source§fn clone(&self) -> CanisterStatus
fn clone(&self) -> CanisterStatus
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 CanisterStatus
impl Debug for CanisterStatus
source§impl<'de> Deserialize<'de> for CanisterStatus
impl<'de> Deserialize<'de> for CanisterStatus
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 Display for CanisterStatus
impl Display for CanisterStatus
source§impl PartialEq for CanisterStatus
impl PartialEq for CanisterStatus
source§fn eq(&self, other: &CanisterStatus) -> bool
fn eq(&self, other: &CanisterStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CanisterStatus
impl StructuralPartialEq for CanisterStatus
Auto Trait Implementations§
impl Freeze for CanisterStatus
impl RefUnwindSafe for CanisterStatus
impl Send for CanisterStatus
impl Sync for CanisterStatus
impl Unpin for CanisterStatus
impl UnwindSafe for CanisterStatus
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
Mutably borrows from an owned value. Read more