pub enum BatchQualificationError {
Parse(DocumentError),
Schema,
Text(&'static str),
Batching,
Bound,
Stage1Order,
Stage1Reason(Stage1Case),
TooManyPairs(usize),
PairCase(usize),
Verdict {
recorded: Verdict,
computed: Verdict,
},
}Expand description
Why a report was refused.
Variants§
Parse(DocumentError)
Schema
Text(&'static str)
A name that is blank or longer than MAX_TEXT_BYTES.
Batching
max_items below 2.
Bound
A ratio outside [0, 1] or over a zero denominator, or a zero
minimum.
Stage1Order
Stage 1 cases repeated or out of Stage1Case order.
Stage1Reason(Stage1Case)
A failed case whose reason is blank or too long.
TooManyPairs(usize)
PairCase(usize)
Pair i’s case name is blank, too long or repeated.
Verdict
The recorded verdict is not the one the report supports.
Trait Implementations§
Source§impl Clone for BatchQualificationError
impl Clone for BatchQualificationError
Source§impl Debug for BatchQualificationError
impl Debug for BatchQualificationError
Source§impl Display for BatchQualificationError
impl Display for BatchQualificationError
impl Eq for BatchQualificationError
Source§impl Error for BatchQualificationError
impl Error for BatchQualificationError
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 BatchQualificationError
impl PartialEq for BatchQualificationError
impl StructuralPartialEq for BatchQualificationError
Auto Trait Implementations§
impl Freeze for BatchQualificationError
impl RefUnwindSafe for BatchQualificationError
impl Send for BatchQualificationError
impl Sync for BatchQualificationError
impl Unpin for BatchQualificationError
impl UnsafeUnpin for BatchQualificationError
impl UnwindSafe for BatchQualificationError
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