#[non_exhaustive]pub enum ExecutionErrorCategory {
InvalidRequest,
UnsupportedContainment,
PolicyViolation,
Spawn,
Timeout,
OutputLimit,
ProcessLimit,
MemoryLimit,
Internal,
}Expand description
Stable high-level execution failure categories for callers and machine output.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidRequest
UnsupportedContainment
PolicyViolation
Spawn
Timeout
OutputLimit
ProcessLimit
MemoryLimit
Internal
Trait Implementations§
Source§impl Clone for ExecutionErrorCategory
impl Clone for ExecutionErrorCategory
impl Copy for ExecutionErrorCategory
Source§impl Debug for ExecutionErrorCategory
impl Debug for ExecutionErrorCategory
impl Eq for ExecutionErrorCategory
Source§impl PartialEq for ExecutionErrorCategory
impl PartialEq for ExecutionErrorCategory
impl StructuralPartialEq for ExecutionErrorCategory
Auto Trait Implementations§
impl Forget for ExecutionErrorCategory
impl Freeze for ExecutionErrorCategory
impl Move for ExecutionErrorCategory
impl RefUnwindSafe for ExecutionErrorCategory
impl Send for ExecutionErrorCategory
impl Sync for ExecutionErrorCategory
impl Unpin for ExecutionErrorCategory
impl UnsafeUnpin for ExecutionErrorCategory
impl UnwindSafe for ExecutionErrorCategory
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