Enum signal_hook::low_level::siginfo::Chld
source · #[non_exhaustive]pub enum Chld {
Exited,
Killed,
Dumped,
Trapped,
Stopped,
Continued,
}
Available on crate feature
extended-siginfo-raw
only.Expand description
A child changed its state.
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.
Exited
The child exited normally.
Killed
It got killed by a signal.
Dumped
It got killed by a signal and dumped core.
Trapped
The child was trapped by a SIGTRAP
signal.
Stopped
The child got stopped.
Continued
The child continued (after being stopped).
Trait Implementations§
source§impl PartialEq<Chld> for Chld
impl PartialEq<Chld> for Chld
impl Copy for Chld
impl Eq for Chld
impl StructuralEq for Chld
impl StructuralPartialEq for Chld
Auto Trait Implementations§
impl RefUnwindSafe for Chld
impl Send for Chld
impl Sync for Chld
impl Unpin for Chld
impl UnwindSafe for Chld
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