#[non_exhaustive]pub enum IpcNamespaceMode {
Private,
Host,
Shareable,
None,
}Expand description
One IPC namespace mode for an unpodded container.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Private
Creates a private IPC namespace.
Host
Joins the host IPC namespace.
Makes a private IPC namespace shareable.
None
Disables IPC namespace use.
Trait Implementations§
Source§impl Clone for IpcNamespaceMode
impl Clone for IpcNamespaceMode
Source§fn clone(&self) -> IpcNamespaceMode
fn clone(&self) -> IpcNamespaceMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IpcNamespaceMode
Source§impl Debug for IpcNamespaceMode
impl Debug for IpcNamespaceMode
impl Eq for IpcNamespaceMode
Source§impl PartialEq for IpcNamespaceMode
impl PartialEq for IpcNamespaceMode
impl StructuralPartialEq for IpcNamespaceMode
Auto Trait Implementations§
impl Freeze for IpcNamespaceMode
impl RefUnwindSafe for IpcNamespaceMode
impl Send for IpcNamespaceMode
impl Sync for IpcNamespaceMode
impl Unpin for IpcNamespaceMode
impl UnsafeUnpin for IpcNamespaceMode
impl UnwindSafe for IpcNamespaceMode
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