Struct nu_system::ProcessInfo
source · [−]pub struct ProcessInfo {Show 15 fields
pub pid: i32,
pub command: String,
pub ppid: i32,
pub start_time: DateTime<Local>,
pub cpu_info: CpuInfo,
pub memory_info: MemoryInfo,
pub disk_info: DiskInfo,
pub user: SidName,
pub groups: Vec<SidName>,
pub priority: u32,
pub thread: i32,
pub interval: Duration,
pub cmd: Vec<String>,
pub environ: Vec<String>,
pub cwd: PathBuf,
}
Fields
pid: i32
command: String
ppid: i32
start_time: DateTime<Local>
cpu_info: CpuInfo
memory_info: MemoryInfo
disk_info: DiskInfo
user: SidName
groups: Vec<SidName>
priority: u32
thread: i32
interval: Duration
cmd: Vec<String>
environ: Vec<String>
cwd: PathBuf
Implementations
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 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