pub enum ExecutorState {
Stopped,
Started,
Running,
}
Expand description
The current state an executor is in.
This should be taken into account whenever the start or update methods are called on an executor so that an executor may be put into the correct state before executing a method.
Variants§
Stopped
The nodes in the executor are currently stopped.
This means the Nodes must be started before update can begin
Started
The nodes in the executor have been started and can now be updated.
Running
The nodes in the executor are current being updated
Trait Implementations§
Source§impl Clone for ExecutorState
impl Clone for ExecutorState
Source§fn clone(&self) -> ExecutorState
fn clone(&self) -> ExecutorState
Returns a duplicate 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 ExecutorState
impl Debug for ExecutorState
Source§impl PartialEq for ExecutorState
impl PartialEq for ExecutorState
impl Copy for ExecutorState
impl Eq for ExecutorState
impl StructuralPartialEq for ExecutorState
Auto Trait Implementations§
impl Freeze for ExecutorState
impl RefUnwindSafe for ExecutorState
impl Send for ExecutorState
impl Sync for ExecutorState
impl Unpin for ExecutorState
impl UnwindSafe for ExecutorState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more