pub struct Counter<T, C, P: Push<Bundle<T, C>>> { /* private fields */ }
Expand description
A wrapper which updates shared produced
based on the number of records pushed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, C, P> Freeze for Counter<T, C, P>where
P: Freeze,
impl<T, C, P> !RefUnwindSafe for Counter<T, C, P>
impl<T, C, P> !Send for Counter<T, C, P>
impl<T, C, P> !Sync for Counter<T, C, P>
impl<T, C, P> Unpin for Counter<T, C, P>
impl<T, C, P> !UnwindSafe for Counter<T, C, P>
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