pub struct OsProcess {
pub id: ProcessId,
pub object: ProcessObject,
pub name: String,
pub translation_root: Pa,
}Expand description
Represents information about a process in the target system.
Fields§
§id: ProcessIdThe PID of the process.
object: ProcessObjectThe process object.
name: StringThe short name of the process.
§Platform-specific
- Windows:
_EPROCESS::ImageFileName(limited to 16 characters). - Linux:
_task_struct::comm(limited to 16 characters).
translation_root: PaThe translation root of the process.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OsProcess
impl<'de> Deserialize<'de> for OsProcess
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
Auto Trait Implementations§
impl Freeze for OsProcess
impl RefUnwindSafe for OsProcess
impl Send for OsProcess
impl Sync for OsProcess
impl Unpin for OsProcess
impl UnwindSafe for OsProcess
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