Enum libproc::libproc::proc_pid::PidInfoFlavor
source · pub enum PidInfoFlavor {
ListFDs,
TaskAllInfo,
TBSDInfo,
TaskInfo,
ThreadInfo,
ListThreads,
RegionInfo,
RegionPathInfo,
VNodePathInfo,
ThreadPathInfo,
PathInfo,
WorkQueueInfo,
}
Expand description
An enum used to specify what type of information about a process is referenced See http://opensource.apple.com/source/xnu/xnu-1504.7.4/bsd/kern/proc_info.c
Variants§
ListFDs
List of File Descriptors
TaskAllInfo
struct proc_taskallinfo
TBSDInfo
struct proc_bsdinfo
TaskInfo
struct proc_taskinfo
ThreadInfo
struct proc_threadinfo
ListThreads
list if int thread ids
RegionInfo
TBD what type RegionInfo is - string?
RegionPathInfo
Region Path info strings
VNodePathInfo
Strings
ThreadPathInfo
Strings
PathInfo
Strings
WorkQueueInfo
struct proc_workqueueinfo
Auto Trait Implementations§
impl RefUnwindSafe for PidInfoFlavor
impl Send for PidInfoFlavor
impl Sync for PidInfoFlavor
impl Unpin for PidInfoFlavor
impl UnwindSafe for PidInfoFlavor
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