Enum actix_web::actix::actix::ActorState[]

pub enum ActorState {
    Started,
    Running,
    Stopping,
    Stopped,
}

Actor execution state

Variants

Actor is started.

Actor is running.

Actor is stopping.

Actor is stopped.

Methods

impl ActorState

Indicates if actor is alive

Indicates if actor is stopped of stopping

Trait Implementations

impl PartialEq<ActorState> for ActorState

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ActorState

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ActorState

Formats the value using the given formatter. Read more

impl Copy for ActorState

Auto Trait Implementations

impl Send for ActorState

impl Sync for ActorState