[−][src]Struct futures_util::try_future::MapErr
#[must_use = "futures do nothing unless polled"]pub struct MapErr<Fut, F> { /* fields omitted */ }
Future for the map_err
combinator.
Trait Implementations
impl<Fut: Debug, F: Debug> Debug for MapErr<Fut, F>
[src]
impl<Fut: Debug, F: Debug> Debug for MapErr<Fut, F>
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: Unpin, F> Unpin for MapErr<Fut, F>
[src]
impl<Fut: Unpin, F> Unpin for MapErr<Fut, F>
impl<Fut, F, E> Future for MapErr<Fut, F> where
Fut: TryFuture,
F: FnOnce(Fut::Error) -> E,
[src]
impl<Fut, F, E> Future for MapErr<Fut, F> where
Fut: TryFuture,
F: FnOnce(Fut::Error) -> E,
type Output = Result<Fut::Ok, E>
🔬 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