pub struct RateGuard { /* private fields */ }Expand description
RAII guard that releases a rate limit token when dropped
Auto Trait Implementations§
impl Freeze for RateGuard
impl !RefUnwindSafe for RateGuard
impl Send for RateGuard
impl Sync for RateGuard
impl Unpin for RateGuard
impl !UnwindSafe for RateGuard
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