#[non_exhaustive]pub enum MetricsAggregationError {
Empty,
TooManyJobs,
UnsupportedSchema(u32),
Overflow,
}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.
Trait Implementations§
Source§impl Clone for MetricsAggregationError
impl Clone for MetricsAggregationError
Source§fn clone(&self) -> MetricsAggregationError
fn clone(&self) -> MetricsAggregationError
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 moreimpl Copy for MetricsAggregationError
Source§impl Debug for MetricsAggregationError
impl Debug for MetricsAggregationError
Source§impl Display for MetricsAggregationError
impl Display for MetricsAggregationError
impl Eq for MetricsAggregationError
Source§impl Error for MetricsAggregationError
impl Error for MetricsAggregationError
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 MetricsAggregationError
impl PartialEq for MetricsAggregationError
impl StructuralPartialEq for MetricsAggregationError
Auto Trait Implementations§
impl Freeze for MetricsAggregationError
impl RefUnwindSafe for MetricsAggregationError
impl Send for MetricsAggregationError
impl Sync for MetricsAggregationError
impl Unpin for MetricsAggregationError
impl UnsafeUnpin for MetricsAggregationError
impl UnwindSafe for MetricsAggregationError
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