pub struct Namespace {
pub ns_type: OsString,
pub path: PathBuf,
pub identifier: u64,
pub device_id: u64,
}
Expand description
Information about a namespace
See also the Process::namespaces() method
Fields
ns_type: OsString
Namespace type
path: PathBuf
Handle to the namespace
identifier: u64
Namespace identifier (inode number)
device_id: u64
Device id of the namespace
Trait Implementations
impl Eq for Namespace
Auto Trait Implementations
impl RefUnwindSafe for Namespace
impl Send for Namespace
impl Sync for Namespace
impl Unpin for Namespace
impl UnwindSafe for Namespace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more