Struct relay_metrics::cogs::BySize
source · pub struct BySize<'a>(pub &'a [Bucket]);
Expand description
COGS estimator based on the estimated size of each bucket in bytes.
Tuple Fields§
§0: &'a [Bucket]
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BySize<'a>
impl<'a> RefUnwindSafe for BySize<'a>
impl<'a> Send for BySize<'a>
impl<'a> Sync for BySize<'a>
impl<'a> Unpin for BySize<'a>
impl<'a> UnwindSafe for BySize<'a>
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