#[non_exhaustive]pub enum ShutdownAction {
Signal(TerminationSignal),
Kill,
}Expand description
The strongest stop action used on the owned child during app-server shutdown.
Today, only app-server shutdown reports this action.
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.
Signal(TerminationSignal)
The wrapper sent the configured Unix termination signal. The child may have handled or ignored it before exiting.
Kill
The wrapper used the hard stop, SIGKILL on Unix or direct process termination on other platforms.
Trait Implementations§
Source§impl Clone for ShutdownAction
impl Clone for ShutdownAction
impl Copy for ShutdownAction
Source§impl Debug for ShutdownAction
impl Debug for ShutdownAction
Source§impl Display for ShutdownAction
impl Display for ShutdownAction
impl Eq for ShutdownAction
Source§impl PartialEq for ShutdownAction
impl PartialEq for ShutdownAction
impl StructuralPartialEq for ShutdownAction
Auto Trait Implementations§
impl Forget for ShutdownAction
impl Freeze for ShutdownAction
impl Move for ShutdownAction
impl RefUnwindSafe for ShutdownAction
impl Send for ShutdownAction
impl Sync for ShutdownAction
impl Unpin for ShutdownAction
impl UnsafeUnpin for ShutdownAction
impl UnwindSafe for ShutdownAction
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