pub enum CodeExecutionOutcome {
OutcomeOk,
OutcomeFailed,
OutcomeDeadlineExceeded,
}Expand description
Outcome of code execution
Variants§
OutcomeOk
Code executed successfully
OutcomeFailed
Code execution failed (e.g., runtime error, exception)
OutcomeDeadlineExceeded
Code execution exceeded time limit
Trait Implementations§
Source§impl Clone for CodeExecutionOutcome
impl Clone for CodeExecutionOutcome
Source§fn clone(&self) -> CodeExecutionOutcome
fn clone(&self) -> CodeExecutionOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 CodeExecutionOutcome
impl Debug for CodeExecutionOutcome
Source§impl<'de> Deserialize<'de> for CodeExecutionOutcome
impl<'de> Deserialize<'de> for CodeExecutionOutcome
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 CodeExecutionOutcome
impl PartialEq for CodeExecutionOutcome
Source§impl Serialize for CodeExecutionOutcome
impl Serialize for CodeExecutionOutcome
impl StructuralPartialEq for CodeExecutionOutcome
Auto Trait Implementations§
impl Freeze for CodeExecutionOutcome
impl RefUnwindSafe for CodeExecutionOutcome
impl Send for CodeExecutionOutcome
impl Sync for CodeExecutionOutcome
impl Unpin for CodeExecutionOutcome
impl UnwindSafe for CodeExecutionOutcome
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