Enum nydus::daemon::DaemonState
source · pub enum DaemonState {
INIT,
RUNNING,
READY,
STOPPED,
UNKNOWN,
}Expand description
Nydus daemon working states.
Variants§
Trait Implementations§
source§impl Debug for DaemonState
impl Debug for DaemonState
source§impl Display for DaemonState
impl Display for DaemonState
source§impl From<i32> for DaemonState
impl From<i32> for DaemonState
source§fn from(i: i32) -> DaemonState
fn from(i: i32) -> DaemonState
Converts to this type from the input type.
source§impl Hash for DaemonState
impl Hash for DaemonState
source§impl PartialEq<DaemonState> for DaemonState
impl PartialEq<DaemonState> for DaemonState
source§fn eq(&self, other: &DaemonState) -> bool
fn eq(&self, other: &DaemonState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DaemonState
impl Serialize for DaemonState
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DaemonState
impl StructuralEq for DaemonState
impl StructuralPartialEq for DaemonState
Auto Trait Implementations§
impl RefUnwindSafe for DaemonState
impl Send for DaemonState
impl Sync for DaemonState
impl Unpin for DaemonState
impl UnwindSafe for DaemonState
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.