[−][src]Struct futures_util::try_future::IntoFuture
#[must_use = "futures do nothing unless polled"]pub struct IntoFuture<Fut> { /* fields omitted */ }
Future for the into_future
combinator.
Trait Implementations
impl<Fut: Debug> Debug for IntoFuture<Fut>
[src]
impl<Fut: Debug> Debug for IntoFuture<Fut>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Fut: TryFuture> Future for IntoFuture<Fut>
[src]
impl<Fut: TryFuture> Future for IntoFuture<Fut>
type Output = Result<Fut::Ok, Fut::Error>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
Auto Trait Implementations
impl<Fut> Send for IntoFuture<Fut> where
Fut: Send,
impl<Fut> Send for IntoFuture<Fut> where
Fut: Send,
impl<Fut> Sync for IntoFuture<Fut> where
Fut: Sync,
impl<Fut> Sync for IntoFuture<Fut> where
Fut: Sync,