pub struct BucketId { /* private fields */ }Expand description
One bucket of a WindowQuotaTable, and of the RateLimiter it builds.
Rows that name one BucketId share one allowance.
Trait Implementations§
impl Copy for BucketId
impl Eq for BucketId
impl StructuralPartialEq for BucketId
Auto Trait Implementations§
impl Freeze for BucketId
impl RefUnwindSafe for BucketId
impl Send for BucketId
impl Sync for BucketId
impl Unpin for BucketId
impl UnsafeUnpin for BucketId
impl UnwindSafe for BucketId
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