pub struct ClaimRateLimiter { /* private fields */ }Expand description
Per-caller token bucket for POST /client/v3/keys/claim. One token per
requested device. A batch that would exceed the cap is refused whole.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClaimRateLimiter
impl RefUnwindSafe for ClaimRateLimiter
impl Send for ClaimRateLimiter
impl Sync for ClaimRateLimiter
impl Unpin for ClaimRateLimiter
impl UnsafeUnpin for ClaimRateLimiter
impl UnwindSafe for ClaimRateLimiter
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