#[non_exhaustive]pub enum TerminationAttemptOperation {
CheckStatus,
SendSignal,
WaitForExit,
}Expand description
Termination operation that failed.
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.
CheckStatus
Checking whether the process has already exited failed.
SendSignal
Sending a graceful or forceful termination signal failed.
WaitForExit
Waiting for the process to exit after a termination signal failed.
Trait Implementations§
Source§impl Clone for TerminationAttemptOperation
impl Clone for TerminationAttemptOperation
Source§fn clone(&self) -> TerminationAttemptOperation
fn clone(&self) -> TerminationAttemptOperation
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 TerminationAttemptOperation
impl Debug for TerminationAttemptOperation
impl Copy for TerminationAttemptOperation
impl Eq for TerminationAttemptOperation
impl StructuralPartialEq for TerminationAttemptOperation
Auto Trait Implementations§
impl Freeze for TerminationAttemptOperation
impl RefUnwindSafe for TerminationAttemptOperation
impl Send for TerminationAttemptOperation
impl Sync for TerminationAttemptOperation
impl Unpin for TerminationAttemptOperation
impl UnsafeUnpin for TerminationAttemptOperation
impl UnwindSafe for TerminationAttemptOperation
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