pub struct UserNamespaceMode { /* private fields */ }Expand description
A service userns_mode value.
Implementations§
Source§impl UserNamespaceMode
impl UserNamespaceMode
Sourcepub const fn kind(&self) -> UserNamespaceModeKind
pub const fn kind(&self) -> UserNamespaceModeKind
Returns the non-destructive mode classification.
Sourcepub const fn is_podman_specific(&self) -> bool
pub const fn is_podman_specific(&self) -> bool
Reports whether the value selects a Podman-specific namespace mode.
Trait Implementations§
Source§impl Clone for UserNamespaceMode
impl Clone for UserNamespaceMode
Source§fn clone(&self) -> UserNamespaceMode
fn clone(&self) -> UserNamespaceMode
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 moreSource§impl Debug for UserNamespaceMode
impl Debug for UserNamespaceMode
impl Eq for UserNamespaceMode
Source§impl PartialEq for UserNamespaceMode
impl PartialEq for UserNamespaceMode
impl StructuralPartialEq for UserNamespaceMode
Auto Trait Implementations§
impl Freeze for UserNamespaceMode
impl RefUnwindSafe for UserNamespaceMode
impl Send for UserNamespaceMode
impl Sync for UserNamespaceMode
impl Unpin for UserNamespaceMode
impl UnsafeUnpin for UserNamespaceMode
impl UnwindSafe for UserNamespaceMode
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