Struct conch_runtime::spawn::builtin::SpawnedCd
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct SpawnedCd<I> { /* fields omitted */ }
A future representing a fully spawned cd
builtin command.
Trait Implementations
impl<I: Debug> Debug for SpawnedCd<I>
[src]
impl<T, I, E: ?Sized> EnvFuture<E> for SpawnedCd<I> where
T: StringWrapper,
I: Iterator<Item = T>,
E: AsyncIoEnvironment + ChangeWorkingDirectoryEnvironment + FileDescEnvironment + ReportErrorEnvironment + VariableEnvironment + WorkingDirectoryEnvironment,
E::FileHandle: Borrow<FileDesc>,
E::VarName: Borrow<String> + From<String>,
E::Var: Borrow<String> + From<String>,
[src]
T: StringWrapper,
I: Iterator<Item = T>,
E: AsyncIoEnvironment + ChangeWorkingDirectoryEnvironment + FileDescEnvironment + ReportErrorEnvironment + VariableEnvironment + WorkingDirectoryEnvironment,
E::FileHandle: Borrow<FileDesc>,
E::VarName: Borrow<String> + From<String>,
E::Var: Borrow<String> + From<String>,
type Item = ExitResult<CdFuture<E::WriteAll>>
The type of value that this future will resolved with if it is successful. Read more
type Error = Void
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]
Behaves identical to Future::poll
when polled with a provided environment. Read more
fn cancel(&mut self, _env: &mut E)
[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
fn pin_env(self, env: E) -> Pinned<E, Self> where
E: Sized,
Self: Sized,
[src]
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]
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]
Self: Sized,
Self::Item: 'a + Future,
Converts the resulting future into a boxed trait object. Read more