Struct nu_system::ProcessInfo
source · [−]pub struct ProcessInfo {
pub pid: i32,
pub ppid: i32,
pub curr_proc: ProcessTask,
pub prev_proc: ProcessTask,
pub curr_io: Option<Io>,
pub prev_io: Option<Io>,
pub curr_status: Option<Status>,
pub interval: Duration,
}
Fields
pid: i32
ppid: i32
curr_proc: ProcessTask
prev_proc: ProcessTask
curr_io: Option<Io>
prev_io: Option<Io>
curr_status: Option<Status>
interval: Duration
Implementations
sourceimpl ProcessInfo
impl ProcessInfo
sourcepub fn virtual_size(&self) -> u64
pub fn virtual_size(&self) -> u64
Virtual memory size in bytes
Auto Trait Implementations
impl RefUnwindSafe for ProcessInfo
impl Send for ProcessInfo
impl Sync for ProcessInfo
impl Unpin for ProcessInfo
impl UnwindSafe for ProcessInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more