pub struct ProcessCmdline {
pub pid: u32,
pub comm: String,
pub exe: String,
pub args: Vec<String>,
pub cmdline_raw: String,
}Expand description
Parsed process command line.
Fields§
§pid: u32Process ID.
comm: StringProcess name (task_struct.comm, max 16 chars).
exe: StringExecutable path (first NUL-delimited field).
args: Vec<String>Arguments after the executable (remaining NUL-delimited fields).
cmdline_raw: StringFull command line reconstructed as a space-joined string.
Trait Implementations§
Source§impl Clone for ProcessCmdline
impl Clone for ProcessCmdline
Source§fn clone(&self) -> ProcessCmdline
fn clone(&self) -> ProcessCmdline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessCmdline
impl Debug for ProcessCmdline
Source§impl<'de> Deserialize<'de> for ProcessCmdline
impl<'de> Deserialize<'de> for ProcessCmdline
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 ProcessCmdline
impl RefUnwindSafe for ProcessCmdline
impl Send for ProcessCmdline
impl Sync for ProcessCmdline
impl Unpin for ProcessCmdline
impl UnsafeUnpin for ProcessCmdline
impl UnwindSafe for ProcessCmdline
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