pub struct ProcessState {
pub id: u64,
pub parent: u64,
pub name: String,
pub program: String,
pub directory: String,
pub threads: Vec<ThreadState>,
pub files: Vec<OpenFile>,
pub memory: Vec<MemoryRegion>,
}Expand description
A process at a stop: its id and its parent’s (0 for the first’s), its name, the program it runs, its directory, its threads, its open files, and its memory’s regions.
Fields§
§id: u64§parent: u64§name: String§program: String§directory: String§threads: Vec<ThreadState>§files: Vec<OpenFile>§memory: Vec<MemoryRegion>Trait Implementations§
Source§impl Clone for ProcessState
impl Clone for ProcessState
Source§impl Debug for ProcessState
impl Debug for ProcessState
Source§impl<'de> Deserialize<'de> for ProcessState
impl<'de> Deserialize<'de> for ProcessState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProcessState
Source§impl PartialEq for ProcessState
impl PartialEq for ProcessState
Source§impl Serialize for ProcessState
impl Serialize for ProcessState
impl StructuralPartialEq for ProcessState
Auto Trait Implementations§
impl Forget for ProcessState
impl Freeze for ProcessState
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnsafeUnpin for ProcessState
impl UnwindSafe for ProcessState
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