Enum crossbus::actor::ActingState
source · pub enum ActingState {
Continue,
Abort,
Resume,
Stop,
}
Expand description
Indicator to direct the Actor at runtime,
Continue
: just continue the execution, no intercept happensAbort
: intercept the signal and exit execution immediatelyStop
: intercept the execution and step the actor intoStopping
state ifResume
is not returned following, then the actor getStopped
Resume
: restore the Actor back toRunning
fromStopping
state
Variants§
Trait Implementations§
source§impl Clone for ActingState
impl Clone for ActingState
source§fn clone(&self) -> ActingState
fn clone(&self) -> ActingState
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 ActingState
impl Debug for ActingState
source§impl PartialEq<ActingState> for ActingState
impl PartialEq<ActingState> for ActingState
source§fn eq(&self, other: &ActingState) -> bool
fn eq(&self, other: &ActingState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.