Enum rustix::thread::setns::LinkNameSpaceType
source · #[repr(u32)]pub enum LinkNameSpaceType {
Time = 128,
Mount = 131_072,
ControlGroup = 33_554_432,
HostNameAndNISDomainName = 67_108_864,
InterProcessCommunication = 134_217_728,
User = 268_435_456,
ProcessID = 536_870_912,
Network = 1_073_741_824,
}
Expand description
Type of name space referred to by a link.
Variants§
Time = 128
Time name space.
Mount = 131_072
Mount name space.
ControlGroup = 33_554_432
Control group (CGroup) name space.
HostNameAndNISDomainName = 67_108_864
Host name
and NIS domain name
(UTS) name space.
InterProcessCommunication = 134_217_728
Inter-process communication (IPC) name space.
User = 268_435_456
User name space.
ProcessID = 536_870_912
Process ID name space.
Network = 1_073_741_824
Network name space.
Trait Implementations§
source§impl Clone for LinkNameSpaceType
impl Clone for LinkNameSpaceType
source§fn clone(&self) -> LinkNameSpaceType
fn clone(&self) -> LinkNameSpaceType
Returns a copy 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 LinkNameSpaceType
impl Debug for LinkNameSpaceType
source§impl PartialEq for LinkNameSpaceType
impl PartialEq for LinkNameSpaceType
source§fn eq(&self, other: &LinkNameSpaceType) -> bool
fn eq(&self, other: &LinkNameSpaceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LinkNameSpaceType
impl Eq for LinkNameSpaceType
impl StructuralPartialEq for LinkNameSpaceType
Auto Trait Implementations§
impl Freeze for LinkNameSpaceType
impl RefUnwindSafe for LinkNameSpaceType
impl Send for LinkNameSpaceType
impl Sync for LinkNameSpaceType
impl Unpin for LinkNameSpaceType
impl UnwindSafe for LinkNameSpaceType
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