pub enum NamespaceType {
Cgroup,
Ipc,
Mount,
Network,
Pid,
User,
Uts,
}
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 · 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<'de> Deserialize<'de> for NamespaceType
impl<'de> Deserialize<'de> for NamespaceType
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
Source§impl PartialEq for NamespaceType
impl PartialEq for NamespaceType
Source§impl Serialize for NamespaceType
impl Serialize 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