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§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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)