pub enum IpcMode {
None,
Private,
Shareable,
Container(String),
Host,
}
Expand description
IPC sharing mode for the container.
Variants§
None
“none”: own private IPC namespace, with /dev/shm not mounted
Private
“private”: own private IPC namespace
“shareable”: own private IPC namespace, with a possibility to share it with other containers
Container(String)
“container:<name|id>”: join another (shareable) container’s IPC namespace
Host
“host”: use the host system’s IPC namespace
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IpcMode
impl RefUnwindSafe for IpcMode
impl Send for IpcMode
impl Sync for IpcMode
impl Unpin for IpcMode
impl UnwindSafe for IpcMode
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