pub struct ProcEn {
pub name: String,
pub path: PathBuf,
pub cmdline: Vec<String>,
}
Expand description
Process entry in /proc.
Fields§
§name: String
§path: PathBuf
§cmdline: Vec<String>
NB: cmdline is NUL-separated (meaning there will be an empty string at the end)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcEn
impl RefUnwindSafe for ProcEn
impl Send for ProcEn
impl Sync for ProcEn
impl Unpin for ProcEn
impl UnwindSafe for ProcEn
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