pub enum LocalFailure {
Compile,
Runtime,
TimeLimit,
MemoryLimit,
OutputLimit,
Cancelled,
Harness,
}Expand description
Why a local run could not produce a pass/fail verdict. Carried next to
LocalVerdict::Error so execution-check failures keep their RE/TLE/
MLE/CE distinction without ever borrowing judge verdict codes
(ADR-0005 invariant 1).
Variants§
Compile
The solution failed to compile.
Runtime
The process exited non-zero or died on a signal.
TimeLimit
The wall-clock limit was exceeded.
MemoryLimit
Peak memory exceeded the problem’s memory limit.
OutputLimit
The combined output cap was exceeded.
Cancelled
The run was cancelled.
Harness
Harness or infrastructure failure (spawn, I/O, lost job).
Trait Implementations§
Source§impl Clone for LocalFailure
impl Clone for LocalFailure
impl Copy for LocalFailure
Source§impl Debug for LocalFailure
impl Debug for LocalFailure
Source§impl<'de> Deserialize<'de> for LocalFailure
impl<'de> Deserialize<'de> for LocalFailure
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 LocalFailure
Source§impl Hash for LocalFailure
impl Hash for LocalFailure
Source§impl PartialEq for LocalFailure
impl PartialEq for LocalFailure
Source§impl Serialize for LocalFailure
impl Serialize for LocalFailure
impl StructuralPartialEq for LocalFailure
Auto Trait Implementations§
impl Forget for LocalFailure
impl Freeze for LocalFailure
impl Move for LocalFailure
impl RefUnwindSafe for LocalFailure
impl Send for LocalFailure
impl Sync for LocalFailure
impl Unpin for LocalFailure
impl UnsafeUnpin for LocalFailure
impl UnwindSafe for LocalFailure
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.