pub enum LocalVerdict {
CasePass,
ExecutionPass,
CaseFail,
Error,
}Expand description
Outcome of a local test run. Deliberately separate from
JudgeVerdict: these describe what the local harness observed, not
what the official judge decided.
Variants§
CasePass
Output matched the expected output (“local case pass”).
ExecutionPass
The program ran to completion but no expected output exists, so only execution was verified (“execution check pass”).
CaseFail
Output differed from the expected output or a checker rejected it.
Error
Compilation, runtime, or harness failure prevented a verdict.
Trait Implementations§
Source§impl Clone for LocalVerdict
impl Clone for LocalVerdict
impl Copy for LocalVerdict
Source§impl Debug for LocalVerdict
impl Debug for LocalVerdict
Source§impl<'de> Deserialize<'de> for LocalVerdict
impl<'de> Deserialize<'de> for LocalVerdict
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 LocalVerdict
Source§impl Hash for LocalVerdict
impl Hash for LocalVerdict
Source§impl PartialEq for LocalVerdict
impl PartialEq for LocalVerdict
Source§impl Serialize for LocalVerdict
impl Serialize for LocalVerdict
impl StructuralPartialEq for LocalVerdict
Auto Trait Implementations§
impl Forget for LocalVerdict
impl Freeze for LocalVerdict
impl Move for LocalVerdict
impl RefUnwindSafe for LocalVerdict
impl Send for LocalVerdict
impl Sync for LocalVerdict
impl Unpin for LocalVerdict
impl UnsafeUnpin for LocalVerdict
impl UnwindSafe for LocalVerdict
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.