pub struct StreamFuture<F> { /* private fields */ }Expand description
A future bound to a Stream, created with Stream::attach.
Trait Implementations§
Source§impl<F> Future for StreamFuture<F>where
F: Future,
impl<F> Future for StreamFuture<F>where
F: Future,
Auto Trait Implementations§
impl<F> Freeze for StreamFuture<F>where
F: Freeze,
impl<F> RefUnwindSafe for StreamFuture<F>where
F: RefUnwindSafe,
impl<F> Send for StreamFuture<F>where
F: Send,
impl<F> Sync for StreamFuture<F>where
F: Sync,
impl<F> Unpin for StreamFuture<F>where
F: Unpin,
impl<F> UnsafeUnpin for StreamFuture<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for StreamFuture<F>where
F: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<F> FutureExt for F
impl<F> FutureExt for F
Source§fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
Available on crate feature
std only.Catches panics while polling the future. Read more
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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