pub struct LimitLoadBalancer<T>{ /* private fields */ }Expand description
A load balancer that limits the number of allocations per entry over a specified time interval.
This implementation supports both async and sync allocation.
Implementations§
Trait Implementations§
Source§impl<T> BoxLoadBalancer<T> for LimitLoadBalancer<T>
impl<T> BoxLoadBalancer<T> for LimitLoadBalancer<T>
Source§impl<T> Clone for LimitLoadBalancer<T>
impl<T> Clone for LimitLoadBalancer<T>
Source§fn clone(&self) -> LimitLoadBalancer<T>
fn clone(&self) -> LimitLoadBalancer<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> LoadBalancer<T> for LimitLoadBalancer<T>
impl<T> LoadBalancer<T> for LimitLoadBalancer<T>
Auto Trait Implementations§
impl<T> Freeze for LimitLoadBalancer<T>
impl<T> !RefUnwindSafe for LimitLoadBalancer<T>
impl<T> Send for LimitLoadBalancer<T>
impl<T> Sync for LimitLoadBalancer<T>
impl<T> Unpin for LimitLoadBalancer<T>
impl<T> !UnwindSafe for LimitLoadBalancer<T>
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