Struct futures_lite::future::Pending
source · pub struct Pending<T> { /* private fields */ }
Expand description
Future for the pending()
function.
Trait Implementations§
impl<T> Unpin for Pending<T>
Auto Trait Implementations§
impl<T> Freeze for Pending<T>
impl<T> RefUnwindSafe for Pending<T>where
T: RefUnwindSafe,
impl<T> Send for Pending<T>where
T: Send,
impl<T> Sync for Pending<T>where
T: Sync,
impl<T> UnwindSafe for Pending<T>where
T: 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
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,
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