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§
Trait Implementations§
Source§impl AsRef<str> for HostConfigCgroupnsModeInlineItem
impl AsRef<str> for HostConfigCgroupnsModeInlineItem
Source§impl Clone for HostConfigCgroupnsModeInlineItem
impl Clone for HostConfigCgroupnsModeInlineItem
Source§fn clone(&self) -> HostConfigCgroupnsModeInlineItem
fn clone(&self) -> HostConfigCgroupnsModeInlineItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for HostConfigCgroupnsModeInlineItem
impl<'de> Deserialize<'de> for HostConfigCgroupnsModeInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HostConfigCgroupnsModeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HostConfigCgroupnsModeInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HostConfigCgroupnsModeInlineItem
impl PartialEq for HostConfigCgroupnsModeInlineItem
Source§fn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
fn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for HostConfigCgroupnsModeInlineItem
impl Serialize for HostConfigCgroupnsModeInlineItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HostConfigCgroupnsModeInlineItem
Auto Trait Implementations§
impl Freeze for HostConfigCgroupnsModeInlineItem
impl RefUnwindSafe for HostConfigCgroupnsModeInlineItem
impl Send for HostConfigCgroupnsModeInlineItem
impl Sync for HostConfigCgroupnsModeInlineItem
impl Unpin for HostConfigCgroupnsModeInlineItem
impl UnwindSafe for HostConfigCgroupnsModeInlineItem
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