Enum crossbus::actor::ActorState
source · pub enum ActorState {
Created,
Started,
Running,
Aborted,
Stopping,
Stopped,
}
Expand description
Actor State
Variants§
Implementations§
source§impl ActorState
impl ActorState
pub fn is_running(&self) -> bool
pub fn is_stopping(&self) -> bool
pub fn is_started(&self) -> bool
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 PartialEq<ActorState> for ActorState
impl PartialEq<ActorState> for ActorState
source§fn eq(&self, other: &ActorState) -> bool
fn eq(&self, other: &ActorState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.