#[non_exhaustive]pub enum BadCounts {
ReasoningExceedsOutput {
harness: String,
step_ref: String,
reasoning: u64,
output: u64,
},
}Expand description
A row whose counts break a contract rule. Readers still decode such a row; this is for the provider’s own tests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReasoningExceedsOutput
reasoning is a breakdown of output, so it can never exceed it.
Trait Implementations§
impl Eq for BadCounts
Source§impl Error for BadCounts
impl Error for BadCounts
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()
impl StructuralPartialEq for BadCounts
Auto Trait Implementations§
impl Freeze for BadCounts
impl RefUnwindSafe for BadCounts
impl Send for BadCounts
impl Sync for BadCounts
impl Unpin for BadCounts
impl UnsafeUnpin for BadCounts
impl UnwindSafe for BadCounts
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