#[non_exhaustive]pub enum TerminationAction {
CheckStatus,
SendSignal {
signal_name: &'static str,
},
WaitForExit,
}Expand description
Termination action 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 signal failed.
WaitForExit
Waiting for the process to exit failed.
Trait Implementations§
Source§impl Clone for TerminationAction
impl Clone for TerminationAction
Source§fn clone(&self) -> TerminationAction
fn clone(&self) -> TerminationAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerminationAction
impl Debug for TerminationAction
Source§impl Display for TerminationAction
impl Display for TerminationAction
Source§impl PartialEq for TerminationAction
impl PartialEq for TerminationAction
Source§fn eq(&self, other: &TerminationAction) -> bool
fn eq(&self, other: &TerminationAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerminationAction
impl Eq for TerminationAction
impl StructuralPartialEq for TerminationAction
Auto Trait Implementations§
impl Freeze for TerminationAction
impl RefUnwindSafe for TerminationAction
impl Send for TerminationAction
impl Sync for TerminationAction
impl Unpin for TerminationAction
impl UnsafeUnpin for TerminationAction
impl UnwindSafe for TerminationAction
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