#[non_exhaustive]pub enum TerminationAttemptPhase {
Preflight,
Interrupt,
Terminate,
Kill,
}Expand description
Termination phase where an attempt error was recorded.
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.
Preflight
Initial process status check before any termination signal is sent.
Interrupt
Graceful interrupt phase.
Terminate
Graceful terminate phase.
Kill
Forceful kill phase.
Trait Implementations§
Source§impl Clone for TerminationAttemptPhase
impl Clone for TerminationAttemptPhase
Source§fn clone(&self) -> TerminationAttemptPhase
fn clone(&self) -> TerminationAttemptPhase
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 TerminationAttemptPhase
impl Debug for TerminationAttemptPhase
Source§impl Display for TerminationAttemptPhase
impl Display for TerminationAttemptPhase
Source§impl PartialEq for TerminationAttemptPhase
impl PartialEq for TerminationAttemptPhase
impl Copy for TerminationAttemptPhase
impl Eq for TerminationAttemptPhase
impl StructuralPartialEq for TerminationAttemptPhase
Auto Trait Implementations§
impl Freeze for TerminationAttemptPhase
impl RefUnwindSafe for TerminationAttemptPhase
impl Send for TerminationAttemptPhase
impl Sync for TerminationAttemptPhase
impl Unpin for TerminationAttemptPhase
impl UnsafeUnpin for TerminationAttemptPhase
impl UnwindSafe for TerminationAttemptPhase
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