pub struct ProcessDetail {
pub cwd: Option<PathBuf>,
pub env_vars: Vec<(String, String)>,
pub open_files: Vec<String>,
pub cpu_percent: Option<f32>,
pub rss_kb: Option<u64>,
}Expand description
Detailed information about a single process, fetched on demand.
Fields§
§cwd: Option<PathBuf>§env_vars: Vec<(String, String)>§open_files: Vec<String>§cpu_percent: Option<f32>§rss_kb: Option<u64>Trait Implementations§
Source§impl Clone for ProcessDetail
impl Clone for ProcessDetail
Source§fn clone(&self) -> ProcessDetail
fn clone(&self) -> ProcessDetail
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProcessDetail
impl RefUnwindSafe for ProcessDetail
impl Send for ProcessDetail
impl Sync for ProcessDetail
impl Unpin for ProcessDetail
impl UnsafeUnpin for ProcessDetail
impl UnwindSafe for ProcessDetail
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