Struct conch_runtime::spawn::Case [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct Case<IA, IW, IS, E: ?Sized> where
    IW: IntoIterator,
    IW::Item: WordEval<E>,
    IS: IntoIterator,
    IS::Item: Spawn<E>, 
{ /* fields omitted */ }

A future representing the execution of a case command.

Trait Implementations

impl<W, S, IA, IW, IS, E: ?Sized> Debug for Case<IA, IW, IS, E> where
    IA: Debug,
    IW: IntoIterator<Item = W> + Debug,
    IW::IntoIter: Debug,
    W: WordEval<E> + Debug,
    W::EvalResult: Debug,
    W::EvalFuture: Debug,
    IS: IntoIterator<Item = S> + Debug,
    IS::IntoIter: Debug,
    S: Spawn<E> + Debug,
    S::EnvFuture: Debug,
    S::Future: Debug
[src]

[src]

Formats the value using the given formatter.

impl<W, S, IA, IW, IS, E: ?Sized> EnvFuture<E> for Case<IA, IW, IS, E> where
    IA: Iterator<Item = PatternBodyPair<IW, IS>>,
    IW: IntoIterator<Item = W>,
    W: WordEval<E>,
    W::Error: IsFatalError,
    IS: IntoIterator<Item = S>,
    S: Spawn<E>,
    S::Error: From<W::Error> + IsFatalError,
    E: LastStatusEnvironment + ReportErrorEnvironment
[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