Enum elfo_core::ActorStatusKind
source · #[non_exhaustive]
pub enum ActorStatusKind {
Normal,
Initializing,
Terminating,
Terminated,
Alarming,
Failed,
}
Expand description
A list specifying statuses of actors. It’s used with the ActorStatus
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for ActorStatusKind
impl Clone for ActorStatusKind
source§fn clone(&self) -> ActorStatusKind
fn clone(&self) -> ActorStatusKind
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 ActorStatusKind
impl Debug for ActorStatusKind
source§impl<'de> Deserialize<'de> for ActorStatusKind
impl<'de> Deserialize<'de> for ActorStatusKind
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 PartialEq<ActorStatusKind> for ActorStatusKind
impl PartialEq<ActorStatusKind> for ActorStatusKind
source§fn eq(&self, other: &ActorStatusKind) -> bool
fn eq(&self, other: &ActorStatusKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.