pub struct ZombieProcessRule { /* private fields */ }Expand description
Processes that have exited and not been reaped (§11.2).
Directly measured, so the confidence is high — but what it means is left to
the reader: a zombie is a normal instant in a process’s teardown, and only a
growing count suggests a parent that is not reaping. That is why the escalation
to watch needs a count rather than a single occurrence.
Implementations§
Source§impl ZombieProcessRule
impl ZombieProcessRule
Sourcepub const fn new(thresholds: Thresholds) -> Self
pub const fn new(thresholds: Thresholds) -> Self
Builds the rule from sanitized thresholds.
Trait Implementations§
Source§impl Clone for ZombieProcessRule
impl Clone for ZombieProcessRule
Source§fn clone(&self) -> ZombieProcessRule
fn clone(&self) -> ZombieProcessRule
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 moreimpl Copy for ZombieProcessRule
Source§impl Debug for ZombieProcessRule
impl Debug for ZombieProcessRule
Source§impl DiagnosticRule for ZombieProcessRule
impl DiagnosticRule for ZombieProcessRule
Auto Trait Implementations§
impl Freeze for ZombieProcessRule
impl RefUnwindSafe for ZombieProcessRule
impl Send for ZombieProcessRule
impl Sync for ZombieProcessRule
impl Unpin for ZombieProcessRule
impl UnsafeUnpin for ZombieProcessRule
impl UnwindSafe for ZombieProcessRule
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