pub enum SandboxChoice {
Auto,
Remote,
}Expand description
Where code runs.
Variants§
Auto
Embedded engine when available for the language, otherwise the remote sandbox.
Remote
Always use the registered RemoteSandbox.
Trait Implementations§
Source§impl Clone for SandboxChoice
impl Clone for SandboxChoice
impl Copy for SandboxChoice
Source§impl Debug for SandboxChoice
impl Debug for SandboxChoice
Source§impl Default for SandboxChoice
impl Default for SandboxChoice
Source§impl<'de> Deserialize<'de> for SandboxChoice
impl<'de> Deserialize<'de> for SandboxChoice
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 SandboxChoice
Source§impl PartialEq for SandboxChoice
impl PartialEq for SandboxChoice
impl StructuralPartialEq for SandboxChoice
Auto Trait Implementations§
impl Forget for SandboxChoice
impl Freeze for SandboxChoice
impl Move for SandboxChoice
impl RefUnwindSafe for SandboxChoice
impl Send for SandboxChoice
impl Sync for SandboxChoice
impl Unpin for SandboxChoice
impl UnsafeUnpin for SandboxChoice
impl UnwindSafe for SandboxChoice
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.