pub struct Throttle<S: Stream, T: Throttler<<S as Stream>::Item>> { /* private fields */ }Expand description
Throttled stream
Implementations§
Trait Implementations§
Source§impl<S, T> Stream for Throttle<S, T>
impl<S, T> Stream for Throttle<S, T>
impl<'__pin, S: Stream, T: Throttler<<S as Stream>::Item>> Unpin for Throttle<S, T>where
PinnedFieldsOf<__Origin<'__pin, S, T>>: Unpin,
Auto Trait Implementations§
impl<S, T> Freeze for Throttle<S, T>
impl<S, T> RefUnwindSafe for Throttle<S, T>
impl<S, T> Send for Throttle<S, T>
impl<S, T> Sync for Throttle<S, T>
impl<S, T> UnwindSafe for Throttle<S, 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