Struct rustix::process::ReaperStatus
source · pub struct ReaperStatus {
pub flags: ReaperStatusFlags,
pub children: usize,
pub descendants: usize,
pub reaper: Pid,
pub pid: Pid,
}
Available on crate feature
process
only.Expand description
Reaper status as returned by get_reaper_status
.
Fields§
§flags: ReaperStatusFlags
The flags.
children: usize
The number of children of the reaper among the descendants.
descendants: usize
The total number of descendants of the reaper(s), not counting descendants of the reaper in the subtree.
reaper: Pid
The pid of the reaper for the specified process id.
pid: Pid
The pid of one reaper child if there are any descendants.
Trait Implementations§
source§impl Clone for ReaperStatus
impl Clone for ReaperStatus
source§fn clone(&self) -> ReaperStatus
fn clone(&self) -> ReaperStatus
Returns a copy 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 ReaperStatus
impl Debug for ReaperStatus
source§impl PartialEq for ReaperStatus
impl PartialEq for ReaperStatus
source§fn eq(&self, other: &ReaperStatus) -> bool
fn eq(&self, other: &ReaperStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReaperStatus
impl Eq for ReaperStatus
impl StructuralEq for ReaperStatus
impl StructuralPartialEq for ReaperStatus
Auto Trait Implementations§
impl RefUnwindSafe for ReaperStatus
impl Send for ReaperStatus
impl Sync for ReaperStatus
impl Unpin for ReaperStatus
impl UnwindSafe for ReaperStatus
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