pub enum ProcType {
ProcAllPIDS,
ProcPGRPOnly,
ProcTTYOnly,
ProcUIDOnly,
ProcRUIDOnly,
ProcPPIDOnly,
}
Expand description
The ProcType
type. Used to specify what type of processes you are interested
in in other calls, such as listpids
.
Variants§
ProcAllPIDS
All processes
ProcPGRPOnly
Only PGRP Processes
ProcTTYOnly
Only TTY Processes
ProcUIDOnly
Only UID Processes
ProcRUIDOnly
Only RUID Processes
ProcPPIDOnly
Only PPID Processes
Trait Implementations§
source§impl From<ProcType> for ProcFilter
impl From<ProcType> for ProcFilter
Map ProcType
to the new ProcFilter
enum; the values match the now
deprecated implementation of listpids
impl Copy for ProcType
Auto Trait Implementations§
impl RefUnwindSafe for ProcType
impl Send for ProcType
impl Sync for ProcType
impl Unpin for ProcType
impl UnwindSafe for ProcType
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