Enum rustainers::ContainerStatus
source · pub enum ContainerStatus {
Unknown,
Created,
Running,
Restarting,
Stopped,
Exited,
Paused,
Dead,
}Expand description
The container State
Variants§
Unknown
Unknown
Created
Created
Running
Running
Restarting
Restarting
Stopped
Stopped
Exited
Exited
Paused
Paused
Dead
Dead
Trait Implementations§
source§impl Clone for ContainerStatus
impl Clone for ContainerStatus
source§fn clone(&self) -> ContainerStatus
fn clone(&self) -> ContainerStatus
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 ContainerStatus
impl Debug for ContainerStatus
source§impl Default for ContainerStatus
impl Default for ContainerStatus
source§fn default() -> ContainerStatus
fn default() -> ContainerStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ContainerStatus
impl<'de> Deserialize<'de> for ContainerStatus
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 ContainerStatus
impl Display for ContainerStatus
source§impl From<ContainerStatus> for WaitStrategy
impl From<ContainerStatus> for WaitStrategy
source§fn from(value: ContainerStatus) -> Self
fn from(value: ContainerStatus) -> Self
Converts to this type from the input type.
source§impl PartialEq for ContainerStatus
impl PartialEq for ContainerStatus
source§fn eq(&self, other: &ContainerStatus) -> bool
fn eq(&self, other: &ContainerStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ContainerStatus
impl Serialize for ContainerStatus
impl Copy for ContainerStatus
impl Eq for ContainerStatus
impl StructuralEq for ContainerStatus
impl StructuralPartialEq for ContainerStatus
Auto Trait Implementations§
impl RefUnwindSafe for ContainerStatus
impl Send for ContainerStatus
impl Sync for ContainerStatus
impl Unpin for ContainerStatus
impl UnwindSafe for ContainerStatus
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.