pub enum ProcessEvent {
CancelInitiating,
PreemptionInitiating,
PreemptionEnding,
}
Expand description
The event that occurs whithin the Process
computation.
Variants§
CancelInitiating
Cancel the computation.
PreemptionInitiating
Preempt the computation.
PreemptionEnding
Proceed with the computation after it was preempted.
Trait Implementations§
Source§impl Clone for ProcessEvent
impl Clone for ProcessEvent
Source§fn clone(&self) -> ProcessEvent
fn clone(&self) -> ProcessEvent
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 ProcessEvent
impl Debug for ProcessEvent
Source§impl Ord for ProcessEvent
impl Ord for ProcessEvent
Source§fn cmp(&self, other: &ProcessEvent) -> Ordering
fn cmp(&self, other: &ProcessEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProcessEvent
impl PartialEq for ProcessEvent
Source§impl PartialOrd for ProcessEvent
impl PartialOrd for ProcessEvent
impl Eq for ProcessEvent
impl StructuralPartialEq for ProcessEvent
Auto Trait Implementations§
impl Freeze for ProcessEvent
impl RefUnwindSafe for ProcessEvent
impl Send for ProcessEvent
impl Sync for ProcessEvent
impl Unpin for ProcessEvent
impl UnwindSafe for ProcessEvent
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