pub struct PerIpRateLimiter { /* private fields */ }Expand description
Prevents a single IP from monopolising submit_tx even when opening
many TCP connections or HTTP requests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerIpRateLimiter
impl RefUnwindSafe for PerIpRateLimiter
impl Send for PerIpRateLimiter
impl Sync for PerIpRateLimiter
impl Unpin for PerIpRateLimiter
impl UnsafeUnpin for PerIpRateLimiter
impl UnwindSafe for PerIpRateLimiter
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