#[non_exhaustive]pub enum CgroupNamespaceKind {
Host,
Private,
Expression(String),
Other(String),
}Expand description
The recognized family of a service cgroup namespace value.
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.
Host
Share the host cgroup namespace.
Private
Request a private cgroup namespace.
Expression(String)
A dollar-bearing value deferred to interpolation.
Other(String)
An empty, provider-specific, or otherwise unsupported strict YAML string.
Trait Implementations§
Source§impl Clone for CgroupNamespaceKind
impl Clone for CgroupNamespaceKind
Source§fn clone(&self) -> CgroupNamespaceKind
fn clone(&self) -> CgroupNamespaceKind
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 CgroupNamespaceKind
impl Debug for CgroupNamespaceKind
impl Eq for CgroupNamespaceKind
Source§impl PartialEq for CgroupNamespaceKind
impl PartialEq for CgroupNamespaceKind
impl StructuralPartialEq for CgroupNamespaceKind
Auto Trait Implementations§
impl Freeze for CgroupNamespaceKind
impl RefUnwindSafe for CgroupNamespaceKind
impl Send for CgroupNamespaceKind
impl Sync for CgroupNamespaceKind
impl Unpin for CgroupNamespaceKind
impl UnsafeUnpin for CgroupNamespaceKind
impl UnwindSafe for CgroupNamespaceKind
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