pub enum NamespaceType {
Pid,
Ipc,
Net,
Mount,
Uts,
User,
}Expand description
Namespace types that can be isolated
Variants§
Trait Implementations§
Source§impl Clone for NamespaceType
impl Clone for NamespaceType
Source§fn clone(&self) -> NamespaceType
fn clone(&self) -> NamespaceType
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 moreimpl Copy for NamespaceType
Source§impl Debug for NamespaceType
impl Debug for NamespaceType
impl Eq for NamespaceType
Source§impl PartialEq for NamespaceType
impl PartialEq for NamespaceType
Source§fn eq(&self, other: &NamespaceType) -> bool
fn eq(&self, other: &NamespaceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NamespaceType
Auto Trait Implementations§
impl Freeze for NamespaceType
impl RefUnwindSafe for NamespaceType
impl Send for NamespaceType
impl Sync for NamespaceType
impl Unpin for NamespaceType
impl UnsafeUnpin for NamespaceType
impl UnwindSafe for NamespaceType
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