pub struct LabeledHistogram { /* private fields */ }Expand description
带标签的 Histogram 扩展。
标准 crate::Histogram 不支持在同一指标名下按标签区分。
LabeledHistogram 通过标签集合区分同一指标名的不同时间序列。
Implementations§
Auto Trait Implementations§
impl !Freeze for LabeledHistogram
impl !RefUnwindSafe for LabeledHistogram
impl Send for LabeledHistogram
impl Sync for LabeledHistogram
impl Unpin for LabeledHistogram
impl UnsafeUnpin for LabeledHistogram
impl UnwindSafe for LabeledHistogram
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