Struct conch_runtime::future::BoxedResult [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct BoxedResult<'a, EF> { /* fields omitted */ }

A future adapter for EnvFutures which return a Future, whose result will be boxed upon resolution.

Trait Implementations

impl<'a, EF: Debug> Debug for BoxedResult<'a, EF>
[src]

[src]

Formats the value using the given formatter.

impl<'a, EF, F, E: ?Sized> EnvFuture<E> for BoxedResult<'a, EF> where
    EF: EnvFuture<E, Item = F>,
    F: 'a + Future,
    F::Error: From<EF::Error>, 
[src]

The type of value that this future will resolved with if it is successful. Read more

The type of error that this future will resolve with if it fails in a normal fashion. Read more

[src]

Behaves identical to Future::poll when polled with a provided environment. Read more

[src]

Cancel a future and consider it as completed, thus giving it a chance to run any clean up as if it had resolved on its own. Read more

[src]

Pin an environment to this future, allowing the resulting future to be polled from anywhere without needing the caller to specify an environment. Read more

[src]

Fuse a future such that poll and cancel will never again be called once it has completed. Read more

[src]

Converts the resulting future into a boxed trait object. Read more