Struct conch_runtime::eval::ast_impl::ComplexWord [−][src]
#[must_use = "futures do nothing unless polled"]pub struct ComplexWord<W, I, E: ?Sized> where
W: WordEval<E>,
I: Iterator<Item = W>, { /* fields omitted */ }
A future representing the evaluation of a ComplexWord.
Trait Implementations
impl<W, I, E: ?Sized> Debug for ComplexWord<W, I, E> where
W: WordEval<E> + Debug,
W::EvalResult: Debug,
W::EvalFuture: Debug,
I: Iterator<Item = W> + Debug, [src]
impl<W, I, E: ?Sized> Debug for ComplexWord<W, I, E> where
W: WordEval<E> + Debug,
W::EvalResult: Debug,
W::EvalFuture: Debug,
I: Iterator<Item = W> + Debug, fn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<W, I, E: ?Sized> EnvFuture<E> for ComplexWord<W, I, E> where
W: WordEval<E>,
I: Iterator<Item = W>, [src]
impl<W, I, E: ?Sized> EnvFuture<E> for ComplexWord<W, I, E> where
W: WordEval<E>,
I: Iterator<Item = W>, type Item = Fields<W::EvalResult>
The type of value that this future will resolved with if it is successful. Read more
type Error = W::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<W, I, E: ?Sized> Send for ComplexWord<W, I, E> where
I: Send,
<W as WordEval<E>>::EvalFuture: Send,
<W as WordEval<E>>::EvalResult: Send,
impl<W, I, E: ?Sized> Send for ComplexWord<W, I, E> where
I: Send,
<W as WordEval<E>>::EvalFuture: Send,
<W as WordEval<E>>::EvalResult: Send, impl<W, I, E: ?Sized> Sync for ComplexWord<W, I, E> where
I: Sync,
<W as WordEval<E>>::EvalFuture: Sync,
<W as WordEval<E>>::EvalResult: Sync,
impl<W, I, E: ?Sized> Sync for ComplexWord<W, I, E> where
I: Sync,
<W as WordEval<E>>::EvalFuture: Sync,
<W as WordEval<E>>::EvalResult: Sync,