Struct conch_runtime::spawn::AndOrList[][src]

#[must_use = "futures do nothing unless polled"]
pub struct AndOrList<T, I, E: ?Sized> where
    I: Iterator<Item = AndOr<T>>,
    T: Spawn<E>, 
{ /* fields omitted */ }

A future representing the execution of a list of And/Or commands.

Trait Implementations

impl<T: Debug, I: Debug, E: Debug + ?Sized> Debug for AndOrList<T, I, E> where
    I: Iterator<Item = AndOr<T>>,
    T: Spawn<E>,
    T::EnvFuture: Debug,
    T::Future: Debug
[src]

Formats the value using the given formatter. Read more

impl<T, I, E: ?Sized> EnvFuture<E> for AndOrList<T, I, E> where
    T: Spawn<E>,
    T::Error: IsFatalError,
    I: Iterator<Item = AndOr<T>>,
    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

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

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

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

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

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

Auto Trait Implementations

impl<T, I, E: ?Sized> Send for AndOrList<T, I, E> where
    I: Send,
    T: Send,
    <T as Spawn<E>>::EnvFuture: Send,
    <T as Spawn<E>>::Future: Send

impl<T, I, E: ?Sized> Sync for AndOrList<T, I, E> where
    I: Sync,
    T: Sync,
    <T as Spawn<E>>::EnvFuture: Sync,
    <T as Spawn<E>>::Future: Sync