#[non_exhaustive]pub enum IncumbentStop {
AlreadyGone,
Asked,
Signalled,
Forced,
}Expand description
How the incumbent ended.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AlreadyGone
No process had the recorded pid already; nothing was asked or signalled.
Asked
It stopped after being asked, within the grace.
Signalled
It stopped after one graceful signal.
Forced
It stopped after the forced stop of its tree.
Trait Implementations§
Source§impl Clone for IncumbentStop
impl Clone for IncumbentStop
impl Copy for IncumbentStop
Source§impl Debug for IncumbentStop
impl Debug for IncumbentStop
impl Eq for IncumbentStop
Source§impl PartialEq for IncumbentStop
impl PartialEq for IncumbentStop
impl StructuralPartialEq for IncumbentStop
Auto Trait Implementations§
impl Freeze for IncumbentStop
impl RefUnwindSafe for IncumbentStop
impl Send for IncumbentStop
impl Sync for IncumbentStop
impl Unpin for IncumbentStop
impl UnsafeUnpin for IncumbentStop
impl UnwindSafe for IncumbentStop
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