pub struct RateLimitState {
pub rate_limiter: Arc<RateLimiter>,
}Expand description
Rate limiting state
Fields§
§rate_limiter: Arc<RateLimiter>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RateLimitState
impl !UnwindSafe for RateLimitState
impl Freeze for RateLimitState
impl Send for RateLimitState
impl Sync for RateLimitState
impl Unpin for RateLimitState
impl UnsafeUnpin for RateLimitState
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