pub enum RateLimitRule {
Limit(EndpointRateLimit),
Disabled,
Dynamic(Arc<dyn RateLimitResolver>),
}Variants§
Trait Implementations§
Source§impl Clone for RateLimitRule
impl Clone for RateLimitRule
Auto Trait Implementations§
impl !RefUnwindSafe for RateLimitRule
impl !UnwindSafe for RateLimitRule
impl Freeze for RateLimitRule
impl Send for RateLimitRule
impl Sync for RateLimitRule
impl Unpin for RateLimitRule
impl UnsafeUnpin for RateLimitRule
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