Struct blaze_pk::AtomicCounter
source · [−]pub struct AtomicCounter { /* private fields */ }
Expand description
Atomic backed counter implementation
Implementations
sourceimpl AtomicCounter
impl AtomicCounter
sourcepub fn new() -> AtomicCounter
pub fn new() -> AtomicCounter
Creates a new atomic counter
Trait Implementations
sourceimpl RequestCounter for AtomicCounter
impl RequestCounter for AtomicCounter
Auto Trait Implementations
impl RefUnwindSafe for AtomicCounter
impl Send for AtomicCounter
impl Sync for AtomicCounter
impl Unpin for AtomicCounter
impl UnwindSafe for AtomicCounter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more