Enum hop_cli::commands::containers::types::ContainerState
source · [−]pub enum ContainerState {
Exited,
Pending,
Running,
Stopped,
Terminating,
Failed,
}Variants
Exited
Pending
Running
Stopped
Terminating
Failed
Implementations
sourceimpl ContainerState
impl ContainerState
pub fn from_changeable_state(state: &ChangeableContainerState) -> Self
Trait Implementations
sourceimpl Clone for ContainerState
impl Clone for ContainerState
sourcefn clone(&self) -> ContainerState
fn clone(&self) -> ContainerState
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ContainerState
impl Debug for ContainerState
sourceimpl<'de> Deserialize<'de> for ContainerState
impl<'de> Deserialize<'de> for ContainerState
sourcefn 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
sourceimpl Display for ContainerState
impl Display for ContainerState
sourceimpl PartialEq<ContainerState> for ContainerState
impl PartialEq<ContainerState> for ContainerState
sourcefn eq(&self, other: &ContainerState) -> bool
fn eq(&self, other: &ContainerState) -> bool
sourceimpl Serialize for ContainerState
impl Serialize for ContainerState
impl Eq for ContainerState
impl StructuralEq for ContainerState
impl StructuralPartialEq for ContainerState
Auto Trait Implementations
impl RefUnwindSafe for ContainerState
impl Send for ContainerState
impl Sync for ContainerState
impl Unpin for ContainerState
impl UnwindSafe for ContainerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.