pub enum HostConfigCgroupnsModeInlineItem {
Private,
Host,
}
Expand description
cgroup namespace mode for the container. Possible values are:
"private"
: the container runs in its own private cgroup namespace"host"
: use the host system’s cgroup namespace
If not specified, the daemon default is used, which can either be "private"
or "host"
, depending on daemon version, kernel support and configuration.
Variants
Private
Host
Trait Implementations
sourceimpl AsRef<str> for HostConfigCgroupnsModeInlineItem
impl AsRef<str> for HostConfigCgroupnsModeInlineItem
sourceimpl Clone for HostConfigCgroupnsModeInlineItem
impl Clone for HostConfigCgroupnsModeInlineItem
sourcefn clone(&self) -> HostConfigCgroupnsModeInlineItem
fn clone(&self) -> HostConfigCgroupnsModeInlineItem
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for HostConfigCgroupnsModeInlineItem
impl<'de> Deserialize<'de> for HostConfigCgroupnsModeInlineItem
sourcefn 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
sourceimpl PartialEq<HostConfigCgroupnsModeInlineItem> for HostConfigCgroupnsModeInlineItem
impl PartialEq<HostConfigCgroupnsModeInlineItem> for HostConfigCgroupnsModeInlineItem
sourcefn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
fn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
impl StructuralPartialEq for HostConfigCgroupnsModeInlineItem
Auto Trait Implementations
impl RefUnwindSafe for HostConfigCgroupnsModeInlineItem
impl Send for HostConfigCgroupnsModeInlineItem
impl Sync for HostConfigCgroupnsModeInlineItem
impl Unpin for HostConfigCgroupnsModeInlineItem
impl UnwindSafe for HostConfigCgroupnsModeInlineItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more