pub struct RateLimiter<T>where
T: TotalBytes,{ /* private fields */ }Implementations§
Source§impl<T> RateLimiter<T>where
T: TotalBytes,
impl<T> RateLimiter<T>where
T: TotalBytes,
Trait Implementations§
Source§impl<T> Clone for RateLimiter<T>where
T: TotalBytes + Clone,
impl<T> Clone for RateLimiter<T>where
T: TotalBytes + Clone,
Source§fn clone(&self) -> RateLimiter<T>
fn clone(&self) -> RateLimiter<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 moreAuto Trait Implementations§
impl<T> Freeze for RateLimiter<T>
impl<T> !RefUnwindSafe for RateLimiter<T>
impl<T> !Send for RateLimiter<T>
impl<T> !Sync for RateLimiter<T>
impl<T> Unpin for RateLimiter<T>where
T: Unpin,
impl<T> !UnwindSafe for RateLimiter<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