Enum actix::ActorState [−][src]
pub enum ActorState { Started, Running, Stopping, Stopped, }
Actor execution state
Variants
Started
Actor is started.
Running
Actor is running.
Stopping
Actor is stopping.
Stopped
Actor is stopped.
Methods
impl ActorState
[src]
impl ActorState
pub fn alive(self) -> bool
[src]
pub fn alive(self) -> bool
Indicates if actor is alive
pub fn stopping(self) -> bool
[src]
pub fn stopping(self) -> bool
Indicates if actor is stopped of stopping
Trait Implementations
impl PartialEq for ActorState
[src]
impl PartialEq for ActorState
fn eq(&self, other: &ActorState) -> bool
[src]
fn eq(&self, other: &ActorState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for ActorState
[src]
impl Debug for ActorState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for ActorState
[src]
impl Copy for ActorState
impl Clone for ActorState
[src]
impl Clone for ActorState
fn clone(&self) -> ActorState
[src]
fn clone(&self) -> ActorState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ActorState
impl Send for ActorState
impl Sync for ActorState
impl Sync for ActorState