pub struct Throttle<T = SystemTimer> { /* private fields */ }Expand description
Enforces a minimum gap between outbound requests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T = SystemTimer> !Freeze for Throttle<T>
impl<T = SystemTimer> !RefUnwindSafe for Throttle<T>
impl<T = SystemTimer> !Sync for Throttle<T>
impl<T> Send for Throttle<T>where
T: Send,
impl<T> Unpin for Throttle<T>where
T: Unpin,
impl<T> UnsafeUnpin for Throttle<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Throttle<T>where
T: UnwindSafe,
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