Struct conch_runtime::spawn::SubstitutionEnvFuture [−][src]
#[must_use = "futures do nothing unless polled"]pub struct SubstitutionEnvFuture<I> { /* fields omitted */ }
A future that represents the spawning of a command substitution.
The standard output of the commands will be captured and trailing newlines trimmed.
Trait Implementations
impl<I: Debug> Debug for SubstitutionEnvFuture<I>[src]
impl<I: Debug> Debug for SubstitutionEnvFuture<I>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<I, S, E> EnvFuture<E> for SubstitutionEnvFuture<I> where
I: Iterator<Item = S>,
S: Spawn<E>,
S::Error: IsFatalError + From<IoError>,
E: AsyncIoEnvironment + FileDescEnvironment + LastStatusEnvironment + ReportErrorEnvironment + SubEnvironment,
E::FileHandle: FileDescWrapper,
E::Read: AsyncRead, [src]
impl<I, S, E> EnvFuture<E> for SubstitutionEnvFuture<I> where
I: Iterator<Item = S>,
S: Spawn<E>,
S::Error: IsFatalError + From<IoError>,
E: AsyncIoEnvironment + FileDescEnvironment + LastStatusEnvironment + ReportErrorEnvironment + SubEnvironment,
E::FileHandle: FileDescWrapper,
E::Read: AsyncRead, type Item = Substitution<I, E::Read, E>
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, _: &mut E)[src]
fn cancel(&mut self, _: &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<I> Send for SubstitutionEnvFuture<I> where
I: Send,
impl<I> Send for SubstitutionEnvFuture<I> where
I: Send, impl<I> Sync for SubstitutionEnvFuture<I> where
I: Sync,
impl<I> Sync for SubstitutionEnvFuture<I> where
I: Sync,