Struct conch_runtime::spawn::builtin::Cd [−][src]
pub struct Cd<I> { /* fields omitted */ }Represents a cd builtin command which will
change the current working directory.
Trait Implementations
impl<I: Debug> Debug for Cd<I>[src]
impl<I: Debug> Debug for Cd<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: PartialEq> PartialEq for Cd<I>[src]
impl<I: PartialEq> PartialEq for Cd<I>fn eq(&self, other: &Cd<I>) -> bool[src]
fn eq(&self, other: &Cd<I>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Cd<I>) -> bool[src]
fn ne(&self, other: &Cd<I>) -> boolThis method tests for !=.
impl<I: Eq> Eq for Cd<I>[src]
impl<I: Eq> Eq for Cd<I>impl<I: Clone> Clone for Cd<I>[src]
impl<I: Clone> Clone for Cd<I>fn clone(&self) -> Cd<I>[src]
fn clone(&self) -> Cd<I>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T, I, E: ?Sized> Spawn<E> for Cd<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]
impl<T, I, E: ?Sized> Spawn<E> for Cd<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>, type EnvFuture = SpawnedCd<I>
The future that represents spawning the command. Read more
type Future = ExitResult<CdFuture<E::WriteAll>>
The future that represents the exit status of a fully bootstrapped command, which no longer requires an environment to be driven to completion. Read more
type Error = Void
The type of error that a future will resolve with if it fails in a normal fashion. Read more
fn spawn(self, _env: &E) -> Self::EnvFuture[src]
fn spawn(self, _env: &E) -> Self::EnvFutureSpawn the command as a future. Read more