pub enum NormalizationError {
UnsupportedNamespace,
InvalidMetricName(MetricName),
}
Expand description
Error returned from normalize_bucket
.
Variants§
UnsupportedNamespace
The metric name includes an invalid or unsupported metric namespace.
InvalidMetricName(MetricName)
The metric name cannot be parsed and is invalid.
Trait Implementations§
source§impl Debug for NormalizationError
impl Debug for NormalizationError
source§impl Display for NormalizationError
impl Display for NormalizationError
source§impl Error for NormalizationError
impl Error for NormalizationError
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()
Auto Trait Implementations§
impl Freeze for NormalizationError
impl RefUnwindSafe for NormalizationError
impl Send for NormalizationError
impl Sync for NormalizationError
impl Unpin for NormalizationError
impl UnwindSafe for NormalizationError
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