pub struct RateLimitHook;Expand description
Opt-in ServerHook enforcing configured rate limits and attaching RFC RateLimit-* headers.
Trait Implementations§
Source§impl Clone for RateLimitHook
impl Clone for RateLimitHook
impl Copy for RateLimitHook
Source§impl Debug for RateLimitHook
impl Debug for RateLimitHook
Source§impl Default for RateLimitHook
impl Default for RateLimitHook
Source§impl ServerHook for RateLimitHook
Implements ServerHook for RateLimitHook.
impl ServerHook for RateLimitHook
Implements ServerHook for RateLimitHook.
Auto Trait Implementations§
impl Forget for RateLimitHook
impl Freeze for RateLimitHook
impl Move for RateLimitHook
impl RefUnwindSafe for RateLimitHook
impl Send for RateLimitHook
impl Sync for RateLimitHook
impl Unpin for RateLimitHook
impl UnsafeUnpin for RateLimitHook
impl UnwindSafe for RateLimitHook
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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