pub struct ConnRateLimiter { /* private fields */ }Expand description
Per-connection token bucket (no mutex).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnRateLimiter
impl RefUnwindSafe for ConnRateLimiter
impl Send for ConnRateLimiter
impl Sync for ConnRateLimiter
impl Unpin for ConnRateLimiter
impl UnwindSafe for ConnRateLimiter
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