pub struct Counter<T: Ord + Clone + 'static, C, P: Pull<Message<T, C>>> { /* private fields */ }
Expand description
A wrapper which accounts records pulled past in a shared count map.
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