pub struct NsIds {
pub pid: Option<u64>,
pub net: Option<u64>,
pub mnt: Option<u64>,
pub user: Option<u64>,
pub uts: Option<u64>,
pub ipc: Option<u64>,
pub cgroup: Option<u64>,
}Expand description
Namespace identities of one process (None = link not readable / not present on this kernel).
Fields§
§pid: Option<u64>§net: Option<u64>§mnt: Option<u64>§user: Option<u64>§uts: Option<u64>§ipc: Option<u64>§cgroup: Option<u64>Implementations§
Trait Implementations§
impl Copy for NsIds
Source§impl<'de> Deserialize<'de> for NsIds
impl<'de> Deserialize<'de> for NsIds
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
impl Eq for NsIds
Source§impl Ord for NsIds
impl Ord for NsIds
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for NsIds
impl PartialOrd for NsIds
impl StructuralPartialEq for NsIds
Auto Trait Implementations§
impl Forget for NsIds
impl Freeze for NsIds
impl Move for NsIds
impl RefUnwindSafe for NsIds
impl Send for NsIds
impl Sync for NsIds
impl Unpin for NsIds
impl UnsafeUnpin for NsIds
impl UnwindSafe for NsIds
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