pub struct EnvVarInfo {
pub pid: u64,
pub comm: String,
pub key: String,
pub value: String,
}Expand description
A single environment variable from a process.
Fields§
§pid: u64PID of the owning process.
comm: StringProcess name.
key: StringVariable name (e.g. “PATH”).
value: StringVariable value.
Trait Implementations§
Source§impl Clone for EnvVarInfo
impl Clone for EnvVarInfo
Source§fn clone(&self) -> EnvVarInfo
fn clone(&self) -> EnvVarInfo
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 EnvVarInfo
impl Debug for EnvVarInfo
impl Eq for EnvVarInfo
Source§impl PartialEq for EnvVarInfo
impl PartialEq for EnvVarInfo
Source§fn eq(&self, other: &EnvVarInfo) -> bool
fn eq(&self, other: &EnvVarInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EnvVarInfo
Auto Trait Implementations§
impl Freeze for EnvVarInfo
impl RefUnwindSafe for EnvVarInfo
impl Send for EnvVarInfo
impl Sync for EnvVarInfo
impl Unpin for EnvVarInfo
impl UnsafeUnpin for EnvVarInfo
impl UnwindSafe for EnvVarInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.