pub enum ExitEvent {
Exited {
pid: u64,
reason: ExitReason,
},
Lagged,
}Expand description
A notification delivered by an ExitEventSubscription.
Variants§
Exited
A process exited. Its outcome was published before this event, so an
immediate Scheduler::take_exit_outcome(pid) can consume it.
Lagged
At least one exit notification could not fit in the bounded queue.
No outcome is discarded: pending notifications are reset when this is
observed, and consumers can recover by calling
Scheduler::take_exit_outcome for the process identifiers they track.
Multiple overflows may be coalesced into one marker.
Trait Implementations§
impl Copy for ExitEvent
impl Eq for ExitEvent
impl StructuralPartialEq for ExitEvent
Auto Trait Implementations§
impl Freeze for ExitEvent
impl RefUnwindSafe for ExitEvent
impl Send for ExitEvent
impl Sync for ExitEvent
impl Unpin for ExitEvent
impl UnsafeUnpin for ExitEvent
impl UnwindSafe for ExitEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.