pub struct RateLimitPermit { /* private fields */ }Expand description
Guard that releases a rate-limiter concurrency slot when dropped.
Auto Trait Implementations§
impl !RefUnwindSafe for RateLimitPermit
impl !UnwindSafe for RateLimitPermit
impl Freeze for RateLimitPermit
impl Send for RateLimitPermit
impl Sync for RateLimitPermit
impl Unpin for RateLimitPermit
impl UnsafeUnpin for RateLimitPermit
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