Struct relay_metrics::cogs::ByCount
source · pub struct ByCount<'a, T: IntoIterator<Item = &'a Bucket>>(pub T);
Expand description
COGS estimator based on the bucket count.
Tuple Fields§
§0: T
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ByCount<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for ByCount<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for ByCount<'a, T>where
T: Send,
impl<'a, T> Sync for ByCount<'a, T>where
T: Sync,
impl<'a, T> Unpin for ByCount<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for ByCount<'a, T>where
T: UnwindSafe,
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