pub enum RuntimeIsolation {
Auto,
Sandbox,
Vz,
VzLinux,
Vm,
}Expand description
Selects which execution backend runs a service’s containers. Auto keeps
today’s behavior (image-marker / platform.os / image-OS auto-detection).
macOS: Sandbox = Seatbelt native-process sandbox; Vz = native-macOS
guest VM; VzLinux = Linux-guest VZ VM; Vm = libkrun micro-VM. Honored
by the macOS CompositeRuntime; ignored where it doesn’t apply.
Variants§
Implementations§
Source§impl RuntimeIsolation
impl RuntimeIsolation
Sourcepub fn label_value(self) -> Option<&'static str>
pub fn label_value(self) -> Option<&'static str>
The com.zlayer.isolation label value, or None for Auto.
Trait Implementations§
Source§impl Clone for RuntimeIsolation
impl Clone for RuntimeIsolation
Source§fn clone(&self) -> RuntimeIsolation
fn clone(&self) -> RuntimeIsolation
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 RuntimeIsolation
Source§impl Debug for RuntimeIsolation
impl Debug for RuntimeIsolation
Source§impl Default for RuntimeIsolation
impl Default for RuntimeIsolation
Source§fn default() -> RuntimeIsolation
fn default() -> RuntimeIsolation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeIsolation
impl<'de> Deserialize<'de> for RuntimeIsolation
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 RuntimeIsolation
Source§impl PartialEq for RuntimeIsolation
impl PartialEq for RuntimeIsolation
Source§fn eq(&self, other: &RuntimeIsolation) -> bool
fn eq(&self, other: &RuntimeIsolation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeIsolation
impl Serialize for RuntimeIsolation
impl StructuralPartialEq for RuntimeIsolation
Auto Trait Implementations§
impl Freeze for RuntimeIsolation
impl RefUnwindSafe for RuntimeIsolation
impl Send for RuntimeIsolation
impl Sync for RuntimeIsolation
impl Unpin for RuntimeIsolation
impl UnsafeUnpin for RuntimeIsolation
impl UnwindSafe for RuntimeIsolation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.