#[non_exhaustive]pub enum PidMode {
Service(String),
Container(String),
Raw(String),
}Expand description
A PID namespace mode retaining local reference-shaped forms without runtime interpretation.
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.
Service(String)
A service namespace reference.
Container(String)
A container namespace reference.
Raw(String)
Any other raw scalar.
Trait Implementations§
impl Eq for PidMode
impl StructuralPartialEq for PidMode
Auto Trait Implementations§
impl Freeze for PidMode
impl RefUnwindSafe for PidMode
impl Send for PidMode
impl Sync for PidMode
impl Unpin for PidMode
impl UnsafeUnpin 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