Struct conch_runtime::spawn::ast_impl::CompoundCommandKindFuture [−][src]
#[must_use = "futures do nothing unless polled"]pub struct CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
IS: Iterator,
IS::Item: Spawn<E>,
IW: Iterator,
IW::Item: WordEval<E>,
SR: SpawnRef<E>,
E: VariableEnvironment, { /* fields omitted */ }
A future representing the execution of a CompoundCommandKind
command.
Trait Implementations
impl<S, W, IS, IW, IG, IP, SR, E> Debug for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
S: Spawn<E> + Debug,
S::EnvFuture: Debug,
S::Future: Debug,
W: WordEval<E> + Debug,
W::EvalFuture: Debug,
W::EvalResult: Debug,
IS: Iterator<Item = S> + Debug,
IW: Iterator<Item = W> + Debug,
IG: Debug,
IP: Debug,
SR: SpawnRef<E> + Debug,
SR::EnvFuture: Debug,
SR::Future: Debug,
E: VariableEnvironment + Debug,
E::Var: Debug,
E::VarName: Debug,
[src]
impl<S, W, IS, IW, IG, IP, SR, E> Debug for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
S: Spawn<E> + Debug,
S::EnvFuture: Debug,
S::Future: Debug,
W: WordEval<E> + Debug,
W::EvalFuture: Debug,
W::EvalResult: Debug,
IS: Iterator<Item = S> + Debug,
IW: Iterator<Item = W> + Debug,
IG: Debug,
IP: Debug,
SR: SpawnRef<E> + Debug,
SR::EnvFuture: Debug,
SR::Future: Debug,
E: VariableEnvironment + Debug,
E::Var: Debug,
E::VarName: Debug,
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<S, W, IS, IW, IG, IP, SR, E> EnvFuture<E> for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
S: Spawn<E>,
S::Error: From<W::Error> + IsFatalError,
W: WordEval<E>,
W::EvalResult: Into<E::Var>,
W::Error: IsFatalError,
IS: Iterator<Item = S>,
IW: Iterator<Item = W>,
IG: Iterator<Item = GuardBodyPair<IS>>,
IP: Iterator<Item = PatternBodyPair<IW, IS>>,
SR: SpawnRef<E, Error = S::Error>,
E: LastStatusEnvironment + ReportErrorEnvironment + VariableEnvironment + SubEnvironment,
E::VarName: Clone,
[src]
impl<S, W, IS, IW, IG, IP, SR, E> EnvFuture<E> for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
S: Spawn<E>,
S::Error: From<W::Error> + IsFatalError,
W: WordEval<E>,
W::EvalResult: Into<E::Var>,
W::Error: IsFatalError,
IS: Iterator<Item = S>,
IW: Iterator<Item = W>,
IG: Iterator<Item = GuardBodyPair<IS>>,
IP: Iterator<Item = PatternBodyPair<IW, IS>>,
SR: SpawnRef<E, Error = S::Error>,
E: LastStatusEnvironment + ReportErrorEnvironment + VariableEnvironment + SubEnvironment,
E::VarName: Clone,
type Item = ExitResult<Either<S::Future, SR::Future>>
The type of value that this future will resolved with if it is successful. Read more
type Error = S::Error
The type of error that this future will resolve with if it fails in a normal fashion. Read more
fn poll(&mut self, env: &mut E) -> Poll<Self::Item, Self::Error>
[src]
fn poll(&mut self, env: &mut E) -> Poll<Self::Item, Self::Error>
Behaves identical to Future::poll
when polled with a provided environment. Read more
fn cancel(&mut self, env: &mut E)
[src]
fn cancel(&mut self, env: &mut E)
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
fn pin_env(self, env: E) -> Pinned<E, Self> where
E: Sized,
Self: Sized,
[src]
fn pin_env(self, env: E) -> Pinned<E, Self> where
E: Sized,
Self: Sized,
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
fn fuse(self) -> Fuse<Self> where
Self: Sized,
[src]
fn fuse(self) -> Fuse<Self> where
Self: Sized,
Fuse a future such that poll
and cancel
will never again be called once it has completed. Read more
fn boxed_result<'a>(self) -> BoxedResult<'a, Self> where
Self: Sized,
Self::Item: 'a + Future,
[src]
fn boxed_result<'a>(self) -> BoxedResult<'a, Self> where
Self: Sized,
Self::Item: 'a + Future,
Converts the resulting future into a boxed trait object. Read more
Auto Trait Implementations
impl<IS, IW, IG, IP, SR, E> Send for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
E: Send,
IG: Send,
IP: Send,
IS: IntoIterator + Send,
IW: IntoIterator + Send,
SR: Send,
<SR as SpawnRef<E>>::EnvFuture: Send,
<<IS as IntoIterator>::Item as Spawn<E>>::EnvFuture: Send,
<<IS as Iterator>::Item as Spawn<E>>::EnvFuture: Send,
<<IW as IntoIterator>::Item as WordEval<E>>::EvalFuture: Send,
<<IW as Iterator>::Item as WordEval<E>>::EvalFuture: Send,
<SR as SpawnRef<E>>::Future: Send,
<<IS as IntoIterator>::Item as Spawn<E>>::Future: Send,
<<IS as Iterator>::Item as Spawn<E>>::Future: Send,
<IS as IntoIterator>::IntoIter: Iterator + Send,
<IW as IntoIterator>::IntoIter: Send,
<IS as IntoIterator>::Item: Send + Spawn<E>,
<IS as Iterator>::Item: Send,
<IW as IntoIterator>::Item: Send + WordEval<E>,
<IW as Iterator>::Item: Send,
<E as VariableEnvironment>::Var: Send,
<E as VariableEnvironment>::VarName: Send,
impl<IS, IW, IG, IP, SR, E> Send for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
E: Send,
IG: Send,
IP: Send,
IS: IntoIterator + Send,
IW: IntoIterator + Send,
SR: Send,
<SR as SpawnRef<E>>::EnvFuture: Send,
<<IS as IntoIterator>::Item as Spawn<E>>::EnvFuture: Send,
<<IS as Iterator>::Item as Spawn<E>>::EnvFuture: Send,
<<IW as IntoIterator>::Item as WordEval<E>>::EvalFuture: Send,
<<IW as Iterator>::Item as WordEval<E>>::EvalFuture: Send,
<SR as SpawnRef<E>>::Future: Send,
<<IS as IntoIterator>::Item as Spawn<E>>::Future: Send,
<<IS as Iterator>::Item as Spawn<E>>::Future: Send,
<IS as IntoIterator>::IntoIter: Iterator + Send,
<IW as IntoIterator>::IntoIter: Send,
<IS as IntoIterator>::Item: Send + Spawn<E>,
<IS as Iterator>::Item: Send,
<IW as IntoIterator>::Item: Send + WordEval<E>,
<IW as Iterator>::Item: Send,
<E as VariableEnvironment>::Var: Send,
<E as VariableEnvironment>::VarName: Send,
impl<IS, IW, IG, IP, SR, E> Sync for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
E: Sync,
IG: Sync,
IP: Sync,
IS: IntoIterator + Sync,
IW: IntoIterator + Sync,
SR: Sync,
<SR as SpawnRef<E>>::EnvFuture: Sync,
<<IS as IntoIterator>::Item as Spawn<E>>::EnvFuture: Sync,
<<IS as Iterator>::Item as Spawn<E>>::EnvFuture: Sync,
<<IW as IntoIterator>::Item as WordEval<E>>::EvalFuture: Sync,
<<IW as Iterator>::Item as WordEval<E>>::EvalFuture: Sync,
<SR as SpawnRef<E>>::Future: Sync,
<<IS as IntoIterator>::Item as Spawn<E>>::Future: Sync,
<<IS as Iterator>::Item as Spawn<E>>::Future: Sync,
<IS as IntoIterator>::IntoIter: Iterator + Sync,
<IW as IntoIterator>::IntoIter: Sync,
<IS as IntoIterator>::Item: Spawn<E> + Sync,
<IS as Iterator>::Item: Sync,
<IW as IntoIterator>::Item: Sync + WordEval<E>,
<IW as Iterator>::Item: Sync,
<E as VariableEnvironment>::Var: Sync,
<E as VariableEnvironment>::VarName: Sync,
impl<IS, IW, IG, IP, SR, E> Sync for CompoundCommandKindFuture<IS, IW, IG, IP, SR, E> where
E: Sync,
IG: Sync,
IP: Sync,
IS: IntoIterator + Sync,
IW: IntoIterator + Sync,
SR: Sync,
<SR as SpawnRef<E>>::EnvFuture: Sync,
<<IS as IntoIterator>::Item as Spawn<E>>::EnvFuture: Sync,
<<IS as Iterator>::Item as Spawn<E>>::EnvFuture: Sync,
<<IW as IntoIterator>::Item as WordEval<E>>::EvalFuture: Sync,
<<IW as Iterator>::Item as WordEval<E>>::EvalFuture: Sync,
<SR as SpawnRef<E>>::Future: Sync,
<<IS as IntoIterator>::Item as Spawn<E>>::Future: Sync,
<<IS as Iterator>::Item as Spawn<E>>::Future: Sync,
<IS as IntoIterator>::IntoIter: Iterator + Sync,
<IW as IntoIterator>::IntoIter: Sync,
<IS as IntoIterator>::Item: Spawn<E> + Sync,
<IS as Iterator>::Item: Sync,
<IW as IntoIterator>::Item: Sync + WordEval<E>,
<IW as Iterator>::Item: Sync,
<E as VariableEnvironment>::Var: Sync,
<E as VariableEnvironment>::VarName: Sync,