Struct actix_utils::counter::CounterGuard
source · [−]pub struct CounterGuard(_);
Expand description
An RAII structure that keeps the underlying counter incremented until this guard is dropped.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CounterGuard
impl !Send for CounterGuard
impl !Sync for CounterGuard
impl !UnwindSafe for CounterGuard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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