pub enum PidMode {
Container(String),
Host,
}
Expand description
PID (Process) Namespace mode for the container.
Variants§
Container(String)
“container:<name|id>”: joins another container’s PID namespace
Host
“host”: use the host’s PID namespace inside the container
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PidMode
impl RefUnwindSafe for PidMode
impl Send for PidMode
impl Sync for PidMode
impl Unpin for PidMode
impl UnwindSafe for PidMode
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