Enum actix::ActorState [−][src]
pub enum ActorState {
Started,
Running,
Stopping,
Stopped,
}Actor execution state
Variants
StartedActor is started.
RunningActor is running.
StoppingActor is stopping.
StoppedActor is stopped.
Methods
impl ActorState[src]
impl ActorStatepub fn alive(self) -> bool[src]
pub fn alive(self) -> boolIndicates if actor is alive
pub fn stopping(self) -> bool[src]
pub fn stopping(self) -> boolIndicates if actor is stopped of stopping
Trait Implementations
impl PartialEq for ActorState[src]
impl PartialEq for ActorStatefn eq(&self, other: &ActorState) -> bool[src]
fn eq(&self, other: &ActorState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Debug for ActorState[src]
impl Debug for ActorStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for ActorState[src]
impl Copy for ActorStateimpl Clone for ActorState[src]
impl Clone for ActorStatefn clone(&self) -> ActorState[src]
fn clone(&self) -> ActorStateReturns 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 ActorStateimpl Sync for ActorState
impl Sync for ActorState