#[non_exhaustive]pub enum IsolationKind {
Cgroup,
Tree,
}Expand description
How a lease’s processes are found and stopped.
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.
Cgroup
A cgroup of its own: exact usage, and a kill ends every process in it at once.
Tree
The process tree under the command’s root, followed sample by sample.
Trait Implementations§
Source§impl Clone for IsolationKind
impl Clone for IsolationKind
impl Copy for IsolationKind
Source§impl Debug for IsolationKind
impl Debug for IsolationKind
Source§impl<'de> Deserialize<'de> for IsolationKind
impl<'de> Deserialize<'de> for IsolationKind
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
impl Eq for IsolationKind
Source§impl Hash for IsolationKind
impl Hash for IsolationKind
Source§impl PartialEq for IsolationKind
impl PartialEq for IsolationKind
Source§impl Serialize for IsolationKind
impl Serialize for IsolationKind
impl StructuralPartialEq for IsolationKind
Auto Trait Implementations§
impl Forget for IsolationKind
impl Freeze for IsolationKind
impl Move for IsolationKind
impl RefUnwindSafe for IsolationKind
impl Send for IsolationKind
impl Sync for IsolationKind
impl Unpin for IsolationKind
impl UnsafeUnpin for IsolationKind
impl UnwindSafe for IsolationKind
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