pub enum IsolationClass {
HostProcess,
Sandbox,
Container,
LightweightVm,
RemoteSandbox,
}Expand description
Enumerates the finite isolation class 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 IsolationClass
impl Clone for IsolationClass
Source§fn clone(&self) -> IsolationClass
fn clone(&self) -> IsolationClass
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 IsolationClass
impl Debug for IsolationClass
Source§impl<'de> Deserialize<'de> for IsolationClass
impl<'de> Deserialize<'de> for IsolationClass
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 Hash for IsolationClass
impl Hash for IsolationClass
Source§impl Ord for IsolationClass
impl Ord for IsolationClass
Source§fn cmp(&self, other: &IsolationClass) -> Ordering
fn cmp(&self, other: &IsolationClass) -> 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 IsolationClass
impl PartialEq for IsolationClass
Source§fn eq(&self, other: &IsolationClass) -> bool
fn eq(&self, other: &IsolationClass) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for IsolationClass
impl PartialOrd for IsolationClass
Source§impl Serialize for IsolationClass
impl Serialize for IsolationClass
impl Copy for IsolationClass
impl Eq for IsolationClass
impl StructuralPartialEq for IsolationClass
Auto Trait Implementations§
impl Freeze for IsolationClass
impl RefUnwindSafe for IsolationClass
impl Send for IsolationClass
impl Sync for IsolationClass
impl Unpin for IsolationClass
impl UnsafeUnpin for IsolationClass
impl UnwindSafe for IsolationClass
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