pub struct UndefinedFuture<S, B>{ /* private fields */ }
Expand description
A future that is defined by the result of a future.
Implementations§
Trait Implementations§
Source§impl<ResBody, S, B> Future for UndefinedFuture<S, B>
impl<ResBody, S, B> Future for UndefinedFuture<S, B>
impl<'__pin, S, B> Unpin for UndefinedFuture<S, B>
Auto Trait Implementations§
impl<S, B> Freeze for UndefinedFuture<S, B>
impl<S, B> !RefUnwindSafe for UndefinedFuture<S, B>
impl<S, B> Send for UndefinedFuture<S, B>
impl<S, B> !Sync for UndefinedFuture<S, B>
impl<S, B> !UnwindSafe for UndefinedFuture<S, B>
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,
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