pub enum NamespaceType {
Pid,
Ipc,
Net,
Mount,
Uts,
User,
}Expand description
Namespace types that can be isolated
Variants§
Pid
PID namespace - isolate process IDs
Ipc
IPC namespace - isolate System V IPC
Net
Network namespace - isolate network
Mount
Mount namespace - isolate mounts
Uts
UTS namespace - isolate hostname
User
User namespace - isolate UIDs/GIDs
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 · 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 NamespaceType
impl Debug for NamespaceType
Source§impl PartialEq for NamespaceType
impl PartialEq for NamespaceType
impl Copy for NamespaceType
impl Eq for NamespaceType
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 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