Struct tokio_stream::stream_ext::all::AllFuture
source · pub struct AllFuture<'a, St: ?Sized, F> {
stream: &'a mut St,
f: F,
_pin: PhantomPinned,
}
Expand description
Future for the all
method.
Fields§
§stream: &'a mut St
§f: F
§_pin: PhantomPinned
Implementations§
Trait Implementations§
impl<'__pin, 'a, St: ?Sized, F> Unpin for AllFuture<'a, St, F>where
PinnedFieldsOf<__Origin<'__pin, 'a, St, F>>: Unpin,
Auto Trait Implementations§
impl<'a, St, F> Freeze for AllFuture<'a, St, F>
impl<'a, St, F> RefUnwindSafe for AllFuture<'a, St, F>
impl<'a, St, F> Send for AllFuture<'a, St, F>
impl<'a, St, F> Sync for AllFuture<'a, St, F>
impl<'a, St, F> !UnwindSafe for AllFuture<'a, St, F>
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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more