Enum InvalidHistogramConfiguration
pub enum InvalidHistogramConfiguration {
TooManyBuckets {
required_bucket_count: usize,
},
}
Available on
tokio_unstable and crate feature rt only.Error constructing a histogram
Variants
TooManyBuckets
This histogram required more than the specified number of buckets
Fields
required_bucket_count: usizeThe number of buckets that would have been required
Trait Implementations
impl Debug for InvalidHistogramConfiguration
impl Display for InvalidHistogramConfiguration
impl Error for InvalidHistogramConfiguration
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
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 UnsafeUnpin for InvalidHistogramConfiguration
impl UnwindSafe for InvalidHistogramConfiguration
Blanket Implementations
impl<T> BorrowMut<T> for Twhere T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Instrument for T
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> ToString for T
impl<T> WithSubscriber for T
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/runtime/enum.InvalidHistogramConfiguration.html