Struct futures_stream_ext::Throttle
source · 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
__Origin<'__pin, S, T>: Unpin,
Auto Trait Implementations§
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