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<HostConfigCgroupnsModeInlineItem> for HostConfigCgroupnsModeInlineItem
impl PartialEq<HostConfigCgroupnsModeInlineItem> for HostConfigCgroupnsModeInlineItem
source§fn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
fn eq(&self, other: &HostConfigCgroupnsModeInlineItem) -> bool
This method 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