pub enum JudgeError {
NotAJudge(String),
PlanMismatch {
case: String,
},
DerivationMismatch {
case: String,
},
NotCanonical,
}Expand description
Why a judge reproduction call was refused, by refusal code (3.8.3).
Variants§
NotAJudge(String)
The descriptor is not an ordinal model scorer with a judge, or names another plan than the one given.
PlanMismatch
A bundle of another plan than the judge’s (judge-plan-mismatch).
DerivationMismatch
An exact-derived judgment under a model descriptor
(judge-derivation-mismatch).
NotCanonical
Implementations§
Trait Implementations§
Source§impl Clone for JudgeError
impl Clone for JudgeError
Source§impl Debug for JudgeError
impl Debug for JudgeError
Source§impl Display for JudgeError
impl Display for JudgeError
impl Eq for JudgeError
Source§impl Error for JudgeError
impl Error for JudgeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for JudgeError
impl PartialEq for JudgeError
impl StructuralPartialEq for JudgeError
Auto Trait Implementations§
impl Freeze for JudgeError
impl RefUnwindSafe for JudgeError
impl Send for JudgeError
impl Sync for JudgeError
impl Unpin for JudgeError
impl UnsafeUnpin for JudgeError
impl UnwindSafe for JudgeError
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