pub enum JobIsolation {
Nsjail,
Unshare,
None,
Unknown,
}Expand description
Distinct job isolation modes reported by live workers. nsjail means the worker both asked for nsjail sandboxing and has a working nsjail binary; unshare is PID-namespace isolation only; none means jobs run with no process isolation; unknown is a worker that reported no mode. Sorted for stability across polls.
Variants§
Trait Implementations§
Source§impl Clone for JobIsolation
impl Clone for JobIsolation
Source§fn clone(&self) -> JobIsolation
fn clone(&self) -> JobIsolation
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 JobIsolation
Source§impl Debug for JobIsolation
impl Debug for JobIsolation
Source§impl Default for JobIsolation
impl Default for JobIsolation
Source§fn default() -> JobIsolation
fn default() -> JobIsolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobIsolation
impl<'de> Deserialize<'de> for JobIsolation
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 JobIsolation
Source§impl Hash for JobIsolation
impl Hash for JobIsolation
Source§impl Ord for JobIsolation
impl Ord for JobIsolation
Source§fn cmp(&self, other: &JobIsolation) -> Ordering
fn cmp(&self, other: &JobIsolation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JobIsolation
impl PartialEq for JobIsolation
Source§impl PartialOrd for JobIsolation
impl PartialOrd for JobIsolation
Source§impl Serialize for JobIsolation
impl Serialize for JobIsolation
impl StructuralPartialEq for JobIsolation
Auto Trait Implementations§
impl Freeze for JobIsolation
impl RefUnwindSafe for JobIsolation
impl Send for JobIsolation
impl Sync for JobIsolation
impl Unpin for JobIsolation
impl UnsafeUnpin for JobIsolation
impl UnwindSafe for JobIsolation
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