pub enum ExecutionEnvironmentKind {
HostProcess,
Sandbox,
Container,
LightweightVm,
RemoteSandbox,
}Expand description
Enumerates the finite execution environment kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
HostProcess
Use this variant when the contract needs to represent host process; selecting it has no side effect by itself.
Sandbox
Use this variant when the contract needs to represent 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.
Trait Implementations§
Source§impl Clone for ExecutionEnvironmentKind
impl Clone for ExecutionEnvironmentKind
Source§fn clone(&self) -> ExecutionEnvironmentKind
fn clone(&self) -> ExecutionEnvironmentKind
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 moreSource§impl Debug for ExecutionEnvironmentKind
impl Debug for ExecutionEnvironmentKind
Source§impl<'de> Deserialize<'de> for ExecutionEnvironmentKind
impl<'de> Deserialize<'de> for ExecutionEnvironmentKind
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
Source§impl PartialEq for ExecutionEnvironmentKind
impl PartialEq for ExecutionEnvironmentKind
Source§fn eq(&self, other: &ExecutionEnvironmentKind) -> bool
fn eq(&self, other: &ExecutionEnvironmentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutionEnvironmentKind
impl Serialize for ExecutionEnvironmentKind
impl Copy for ExecutionEnvironmentKind
impl Eq for ExecutionEnvironmentKind
impl StructuralPartialEq for ExecutionEnvironmentKind
Auto Trait Implementations§
impl Freeze for ExecutionEnvironmentKind
impl RefUnwindSafe for ExecutionEnvironmentKind
impl Send for ExecutionEnvironmentKind
impl Sync for ExecutionEnvironmentKind
impl Unpin for ExecutionEnvironmentKind
impl UnsafeUnpin for ExecutionEnvironmentKind
impl UnwindSafe for ExecutionEnvironmentKind
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