#[non_exhaustive]pub enum NamespaceMode {
Private,
Host,
}Expand description
One private or host namespace mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for NamespaceMode
impl Clone for NamespaceMode
Source§fn clone(&self) -> NamespaceMode
fn clone(&self) -> NamespaceMode
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 NamespaceMode
Source§impl Debug for NamespaceMode
impl Debug for NamespaceMode
impl Eq for NamespaceMode
Source§impl PartialEq for NamespaceMode
impl PartialEq for NamespaceMode
impl StructuralPartialEq for NamespaceMode
Auto Trait Implementations§
impl Freeze for NamespaceMode
impl RefUnwindSafe for NamespaceMode
impl Send for NamespaceMode
impl Sync for NamespaceMode
impl Unpin for NamespaceMode
impl UnsafeUnpin for NamespaceMode
impl UnwindSafe for NamespaceMode
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