pub enum ProcessorTargetState {
Running,
Stopped,
Disabled,
}Expand description
The subset of processor states users can legitimately wait for.
Transient / command states (e.g. RUN_ONCE) are intentionally omitted.
Variants§
Running
Processor is scheduled and running.
Stopped
Processor is stopped.
Disabled
Processor is disabled.
Trait Implementations§
Source§impl Clone for ProcessorTargetState
impl Clone for ProcessorTargetState
Source§fn clone(&self) -> ProcessorTargetState
fn clone(&self) -> ProcessorTargetState
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 ProcessorTargetState
impl Debug for ProcessorTargetState
Source§impl PartialEq for ProcessorTargetState
impl PartialEq for ProcessorTargetState
impl Copy for ProcessorTargetState
impl Eq for ProcessorTargetState
impl StructuralPartialEq for ProcessorTargetState
Auto Trait Implementations§
impl Freeze for ProcessorTargetState
impl RefUnwindSafe for ProcessorTargetState
impl Send for ProcessorTargetState
impl Sync for ProcessorTargetState
impl Unpin for ProcessorTargetState
impl UnsafeUnpin for ProcessorTargetState
impl UnwindSafe for ProcessorTargetState
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