pub struct DefaultThrottleConfig;Expand description
Request throttling primitives. Default 60 requests per 60 seconds throttle configuration.
Trait Implementations§
Source§impl ThrottleConfig for DefaultThrottleConfig
impl ThrottleConfig for DefaultThrottleConfig
Source§fn imports() -> Vec<ModuleDef>
fn imports() -> Vec<ModuleDef>
Modules whose exported providers are used while building options.
Source§fn dependencies() -> Vec<ProviderDependency>
fn dependencies() -> Vec<ProviderDependency>
Providers that may be resolved while building throttle options.
Auto Trait Implementations§
impl Freeze for DefaultThrottleConfig
impl RefUnwindSafe for DefaultThrottleConfig
impl Send for DefaultThrottleConfig
impl Sync for DefaultThrottleConfig
impl Unpin for DefaultThrottleConfig
impl UnsafeUnpin for DefaultThrottleConfig
impl UnwindSafe for DefaultThrottleConfig
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