pub enum ExceededAction {
Reject429 {
retry_after_ms: u64,
},
}Expand description
The action taken when a rate-limit bucket is exhausted.
Variants§
Trait Implementations§
Source§impl Clone for ExceededAction
impl Clone for ExceededAction
impl Copy for ExceededAction
Auto Trait Implementations§
impl Freeze for ExceededAction
impl RefUnwindSafe for ExceededAction
impl Send for ExceededAction
impl Sync for ExceededAction
impl Unpin for ExceededAction
impl UnsafeUnpin for ExceededAction
impl UnwindSafe for ExceededAction
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