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 for ActorStatusKind
impl PartialEq 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 ==
.source§impl Serialize for ActorStatusKind
impl Serialize for ActorStatusKind
impl Copy for ActorStatusKind
impl Eq for ActorStatusKind
impl StructuralPartialEq for ActorStatusKind
Auto Trait Implementations§
impl Freeze for ActorStatusKind
impl RefUnwindSafe for ActorStatusKind
impl Send for ActorStatusKind
impl Sync for ActorStatusKind
impl Unpin for ActorStatusKind
impl UnwindSafe for ActorStatusKind
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