Struct mprober_lib::process::Process
source · [−]pub struct Process {Show 17 fields
pub pid: u32,
pub effective_uid: u32,
pub effective_gid: u32,
pub state: ProcessState,
pub ppid: u32,
pub program: String,
pub cmdline: String,
pub tty: Option<String>,
pub priority: i8,
pub real_time_priority: Option<u8>,
pub nice: i8,
pub threads: usize,
pub vsz: usize,
pub rss: usize,
pub rss_shared: usize,
pub rss_anon: usize,
pub start_time: DateTime<Utc>,
}
Fields
pid: u32
effective_uid: u32
effective_gid: u32
state: ProcessState
ppid: u32
program: String
cmdline: String
tty: Option<String>
priority: i8
real_time_priority: Option<u8>
nice: i8
threads: usize
vsz: usize
Virtual Set Size (VIRT)
rss: usize
Resident Set Size (RES)
Resident Shared Size (SHR)
rss_anon: usize
Resident Anonymous Memory
start_time: DateTime<Utc>
Trait Implementations
impl Eq for Process
impl StructuralEq for Process
Auto Trait Implementations
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more