pub enum UserNamespaceModeKind {
Host,
PodmanKeepId,
PodmanAuto,
PodmanNoMap,
Container,
Other,
}Expand description
The recognized family of a userns_mode value.
Variants§
Host
Host user namespace.
PodmanKeepId
Podman’s keep-id mode and options.
PodmanAuto
Podman’s auto mode and options.
PodmanNoMap
Podman’s nomap mode.
Container
A container namespace reference.
Other
A deferred or provider-specific value.
Trait Implementations§
Source§impl Clone for UserNamespaceModeKind
impl Clone for UserNamespaceModeKind
Source§fn clone(&self) -> UserNamespaceModeKind
fn clone(&self) -> UserNamespaceModeKind
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 UserNamespaceModeKind
Source§impl Debug for UserNamespaceModeKind
impl Debug for UserNamespaceModeKind
impl Eq for UserNamespaceModeKind
Source§impl Hash for UserNamespaceModeKind
impl Hash for UserNamespaceModeKind
Source§impl PartialEq for UserNamespaceModeKind
impl PartialEq for UserNamespaceModeKind
impl StructuralPartialEq for UserNamespaceModeKind
Auto Trait Implementations§
impl Freeze for UserNamespaceModeKind
impl RefUnwindSafe for UserNamespaceModeKind
impl Send for UserNamespaceModeKind
impl Sync for UserNamespaceModeKind
impl Unpin for UserNamespaceModeKind
impl UnsafeUnpin for UserNamespaceModeKind
impl UnwindSafe for UserNamespaceModeKind
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