pub enum SandboxErrorKind {
Timeout,
MemoryLimit,
SecurityViolation,
UnsupportedLanguage,
ExecutionFailed,
ConfigError,
}Variants§
Timeout
Timeout exceeded.
MemoryLimit
Memory limit exceeded.
SecurityViolation
Security violation.
UnsupportedLanguage
Language not supported.
ExecutionFailed
Execution failed.
ConfigError
Configuration error.
Trait Implementations§
Source§impl Clone for SandboxErrorKind
impl Clone for SandboxErrorKind
Source§fn clone(&self) -> SandboxErrorKind
fn clone(&self) -> SandboxErrorKind
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 SandboxErrorKind
Source§impl Debug for SandboxErrorKind
impl Debug for SandboxErrorKind
Source§impl<'de> Deserialize<'de> for SandboxErrorKind
impl<'de> Deserialize<'de> for SandboxErrorKind
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 SandboxErrorKind
Source§impl PartialEq for SandboxErrorKind
impl PartialEq for SandboxErrorKind
Source§fn eq(&self, other: &SandboxErrorKind) -> bool
fn eq(&self, other: &SandboxErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SandboxErrorKind
impl Serialize for SandboxErrorKind
impl StructuralPartialEq for SandboxErrorKind
Auto Trait Implementations§
impl Freeze for SandboxErrorKind
impl RefUnwindSafe for SandboxErrorKind
impl Send for SandboxErrorKind
impl Sync for SandboxErrorKind
impl Unpin for SandboxErrorKind
impl UnsafeUnpin for SandboxErrorKind
impl UnwindSafe for SandboxErrorKind
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