pub enum Verdict {
Fits,
NoBudget,
DoesNotFit,
Invalid,
}Expand description
A config check’s verdict, from ConfigCheck::verdict.
Variants§
Fits
Valid, and what its admission rule holds fits MemoryMax.
NoBudget
Valid, but the slice has no MemoryMax: nothing holds runners to a budget.
DoesNotFit
Not valid: what its admission rule holds is more than MemoryMax.
Invalid
Not valid for another reason, given in ConfigCheck::message: it does not parse, a setting is wrong, or the
slice could not be read.
Implementations§
Trait Implementations§
impl Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.