Struct oci_spec::runtime::LinuxNamespace
source · pub struct LinuxNamespace { /* private fields */ }
Expand description
LinuxNamespace is the configuration for a Linux namespace.
Implementations§
source§impl LinuxNamespace
impl LinuxNamespace
sourcepub fn typ(&self) -> LinuxNamespaceType
pub fn typ(&self) -> LinuxNamespaceType
Type is the type of namespace.
Trait Implementations§
source§impl Clone for LinuxNamespace
impl Clone for LinuxNamespace
source§fn clone(&self) -> LinuxNamespace
fn clone(&self) -> LinuxNamespace
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 Debug for LinuxNamespace
impl Debug for LinuxNamespace
source§impl Default for LinuxNamespace
impl Default for LinuxNamespace
source§fn default() -> LinuxNamespace
fn default() -> LinuxNamespace
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LinuxNamespace
impl<'de> Deserialize<'de> for LinuxNamespace
source§fn 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
source§impl PartialEq for LinuxNamespace
impl PartialEq for LinuxNamespace
source§fn eq(&self, other: &LinuxNamespace) -> bool
fn eq(&self, other: &LinuxNamespace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LinuxNamespace
impl Serialize for LinuxNamespace
impl Eq for LinuxNamespace
impl StructuralPartialEq for LinuxNamespace
Auto Trait Implementations§
impl Freeze for LinuxNamespace
impl RefUnwindSafe for LinuxNamespace
impl Send for LinuxNamespace
impl Sync for LinuxNamespace
impl Unpin for LinuxNamespace
impl UnwindSafe for LinuxNamespace
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)