pub enum IsolationRuntimeKind {
HostProvided,
HostProcess,
OsSandbox,
Container,
LightweightVm,
RemoteSandbox,
TestOnlyFake,
}Expand description
Enumerates the finite isolation runtime kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
HostProvided
Use this variant when the contract needs to represent host provided; selecting it has no side effect by itself.
HostProcess
Use this variant when the contract needs to represent host process; selecting it has no side effect by itself.
OsSandbox
Use this variant when the contract needs to represent os sandbox; selecting it has no side effect by itself.
Container
Use this variant when the contract needs to represent container; selecting it has no side effect by itself.
LightweightVm
Use this variant when the contract needs to represent lightweight vm; selecting it has no side effect by itself.
RemoteSandbox
Use this variant when the contract needs to represent remote sandbox; selecting it has no side effect by itself.
TestOnlyFake
Use this variant when the contract needs to represent test only fake; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for IsolationRuntimeKind
impl Clone for IsolationRuntimeKind
Source§fn clone(&self) -> IsolationRuntimeKind
fn clone(&self) -> IsolationRuntimeKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IsolationRuntimeKind
impl Debug for IsolationRuntimeKind
Source§impl<'de> Deserialize<'de> for IsolationRuntimeKind
impl<'de> Deserialize<'de> for IsolationRuntimeKind
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>,
Source§impl PartialEq for IsolationRuntimeKind
impl PartialEq for IsolationRuntimeKind
Source§fn eq(&self, other: &IsolationRuntimeKind) -> bool
fn eq(&self, other: &IsolationRuntimeKind) -> bool
self and other values to be equal, and is used by ==.