#[repr(u32)]pub enum ActorState {
Processing = 0,
Idle = 1,
Paused = 2,
Success = 3,
Failure = 4,
}
Variants§
Processing = 0
Processing implies that the actor has some message(s) to process.
Idle = 1
Idle means that the actor is currently waiting for messages.
Paused = 2
Pause means that the actor processes no message but can process commands.
Success = 3
Success means that the actor exited and cannot return to any other states.
Failure = 4
Failure means that the actor exited with a failure or panicked.
Implementations§
Source§impl ActorState
impl ActorState
Trait Implementations§
Source§impl Clone for ActorState
impl Clone for ActorState
Source§fn clone(&self) -> ActorState
fn clone(&self) -> ActorState
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 ActorState
impl Debug for ActorState
Source§impl From<u32> for ActorState
impl From<u32> for ActorState
Source§impl PartialEq for ActorState
impl PartialEq for ActorState
impl Copy for ActorState
impl Eq for ActorState
impl StructuralPartialEq for ActorState
Auto Trait Implementations§
impl Freeze for ActorState
impl RefUnwindSafe for ActorState
impl Send for ActorState
impl Sync for ActorState
impl Unpin for ActorState
impl UnwindSafe for ActorState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.