Struct conch_runtime::spawn::builtin::Echo [−][src]
pub struct Echo<I> { /* fields omitted */ }
Represents a echo
builtin command which will
print out its arguments joined by a space.
Trait Implementations
impl<I: Debug> Debug for Echo<I>
[src]
impl<I: Debug> Debug for Echo<I>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I: PartialEq> PartialEq for Echo<I>
[src]
impl<I: PartialEq> PartialEq for Echo<I>
fn eq(&self, other: &Echo<I>) -> bool
[src]
fn eq(&self, other: &Echo<I>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Echo<I>) -> bool
[src]
fn ne(&self, other: &Echo<I>) -> bool
This method tests for !=
.
impl<I: Eq> Eq for Echo<I>
[src]
impl<I: Eq> Eq for Echo<I>
impl<I: Clone> Clone for Echo<I>
[src]
impl<I: Clone> Clone for Echo<I>
fn clone(&self) -> Echo<I>
[src]
fn clone(&self) -> Echo<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 Echo<I> where
T: StringWrapper,
I: Iterator<Item = T>,
E: AsyncIoEnvironment,
E: FileDescEnvironment,
E: ReportErrorEnvironment,
E::FileHandle: Borrow<FileDesc>,
[src]
impl<T, I, E: ?Sized> Spawn<E> for Echo<I> where
T: StringWrapper,
I: Iterator<Item = T>,
E: AsyncIoEnvironment,
E: FileDescEnvironment,
E: ReportErrorEnvironment,
E::FileHandle: Borrow<FileDesc>,
type EnvFuture = SpawnedEcho<I>
The future that represents spawning the command. Read more
type Future = ExitResult<EchoFuture<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::EnvFuture
Spawn the command as a future. Read more