Struct Status
pub struct Status {}Expand description
Status information from a core dump
This structure mirrors the kernel’s prstatus data embedded in
NT_PRSTATUS core-dump notes and exposes signal state, process
identifiers, and CPU-time accounting.
Fields§
§cursig: u16Current signal number being delivered
sigpend: u64Set of pending signals (bitmask)
sighold: u64Set of held (blocked) signals (bitmask)
pid: i32Process ID
ppid: i32Parent process ID
pgrp: i32Process group ID
sid: i32Session ID
signo: i32Signal number that caused the core dump
sigcode: i32Signal code providing additional detail
sigerr: i32Error number associated with the signal
reserved: u16Reserved field for alignment
utime: DurationUser CPU time consumed by the process
stime: DurationSystem CPU time consumed by the process
cutime: DurationUser CPU time consumed by waited-for children
cstime: DurationSystem CPU time consumed by waited-for children
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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