pub enum InvalidHistogramConfiguration {
TooManyBuckets {
required_bucket_count: usize,
},
}
Available on
tokio_unstable
and crate feature rt
only.Expand description
Error constructing a histogram
Variants§
TooManyBuckets
This histogram required more than the specified number of buckets
Trait Implementations§
Source§impl Error for InvalidHistogramConfiguration
impl Error for InvalidHistogramConfiguration
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 InvalidHistogramConfiguration
impl RefUnwindSafe for InvalidHistogramConfiguration
impl Send for InvalidHistogramConfiguration
impl Sync for InvalidHistogramConfiguration
impl Unpin for InvalidHistogramConfiguration
impl UnwindSafe for InvalidHistogramConfiguration
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