#[non_exhaustive]pub struct PollTimeHistogram { /* private fields */ }Expand description
A histogram of task poll durations, pairing each bucket’s count with its time range from the runtime configuration.
This type is returned as part of RuntimeMetrics
when the runtime has poll time histograms enabled via
enable_metrics_poll_time_histogram.
Each bucket contains the Duration range configured for that bucket and
the count of task polls that fell into that range during the sampling
interval.
Implementations§
Trait Implementations§
Source§impl Clone for PollTimeHistogram
impl Clone for PollTimeHistogram
Source§fn clone(&self) -> PollTimeHistogram
fn clone(&self) -> PollTimeHistogram
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 PollTimeHistogram
impl Debug for PollTimeHistogram
Source§impl Default for PollTimeHistogram
impl Default for PollTimeHistogram
Source§fn default() -> PollTimeHistogram
fn default() -> PollTimeHistogram
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PollTimeHistogram
impl RefUnwindSafe for PollTimeHistogram
impl Send for PollTimeHistogram
impl Sync for PollTimeHistogram
impl Unpin for PollTimeHistogram
impl UnsafeUnpin for PollTimeHistogram
impl UnwindSafe for PollTimeHistogram
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