pub struct NamespaceConfig {
pub mount: bool,
pub pid: bool,
pub uts: bool,
pub ipc: bool,
pub net: bool,
}Fields§
§mount: bool§pid: bool§uts: bool§ipc: bool§net: boolTrait Implementations§
Source§impl Clone for NamespaceConfig
impl Clone for NamespaceConfig
Source§fn clone(&self) -> NamespaceConfig
fn clone(&self) -> NamespaceConfig
Returns a duplicate 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 NamespaceConfig
impl Debug for NamespaceConfig
Source§impl Default for NamespaceConfig
impl Default for NamespaceConfig
Source§impl<'de> Deserialize<'de> for NamespaceConfig
impl<'de> Deserialize<'de> for NamespaceConfig
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 NamespaceConfig
impl PartialEq for NamespaceConfig
Source§impl Serialize for NamespaceConfig
impl Serialize for NamespaceConfig
impl Eq for NamespaceConfig
impl StructuralPartialEq for NamespaceConfig
Auto Trait Implementations§
impl Freeze for NamespaceConfig
impl RefUnwindSafe for NamespaceConfig
impl Send for NamespaceConfig
impl Sync for NamespaceConfig
impl Unpin for NamespaceConfig
impl UnsafeUnpin for NamespaceConfig
impl UnwindSafe for NamespaceConfig
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