#[non_exhaustive]pub enum ProviderBenchmarkError {
EmptyLabel,
InvalidRegressionRatio {
field: &'static str,
},
}Expand description
Benchmark construction or comparison failure.
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.
EmptyLabel
Report label was blank.
InvalidRegressionRatio
Regression policy included a non-finite or out-of-range ratio.
Trait Implementations§
Source§impl Clone for ProviderBenchmarkError
impl Clone for ProviderBenchmarkError
Source§fn clone(&self) -> ProviderBenchmarkError
fn clone(&self) -> ProviderBenchmarkError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProviderBenchmarkError
impl Debug for ProviderBenchmarkError
Source§impl Display for ProviderBenchmarkError
impl Display for ProviderBenchmarkError
Source§impl Error for ProviderBenchmarkError
impl Error for ProviderBenchmarkError
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 ProviderBenchmarkError
impl PartialEq for ProviderBenchmarkError
impl StructuralPartialEq for ProviderBenchmarkError
Auto Trait Implementations§
impl Freeze for ProviderBenchmarkError
impl RefUnwindSafe for ProviderBenchmarkError
impl Send for ProviderBenchmarkError
impl Sync for ProviderBenchmarkError
impl Unpin for ProviderBenchmarkError
impl UnsafeUnpin for ProviderBenchmarkError
impl UnwindSafe for ProviderBenchmarkError
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