pub struct Names<'a> {
pub name: &'a str,
pub exe: Option<&'a str>,
pub argv0: Option<&'a str>,
pub command: Option<&'a str>,
}Expand description
Everything about a process a name can be compared with
Fields§
§name: &'a strThe process name the OS reports (on Linux cut to 15 characters)
exe: Option<&'a str>Path of the executable, when the OS would tell
argv0: Option<&'a str>The first word of the command line, when the OS would tell
command: Option<&'a str>The whole command line, when the OS would tell
Trait Implementations§
impl<'a> Copy for Names<'a>
Auto Trait Implementations§
impl<'a> Freeze for Names<'a>
impl<'a> RefUnwindSafe for Names<'a>
impl<'a> Send for Names<'a>
impl<'a> Sync for Names<'a>
impl<'a> Unpin for Names<'a>
impl<'a> UnsafeUnpin for Names<'a>
impl<'a> UnwindSafe for Names<'a>
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