Struct conch_runtime::spawn::builtin::True
[−]
[src]
pub struct True;
Represents a true
builtin command.
The true
command has no effect and always exits successfully.
Trait Implementations
impl Debug for True
[src]
impl PartialEq for True
[src]
fn eq(&self, __arg_0: &True) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for True
[src]
impl Clone for True
[src]
fn clone(&self) -> True
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for True
[src]
impl<E: ?Sized> Spawn<E> for True
[src]
type EnvFuture = SpawnedTrue
The future that represents spawning the command. Read more
type Future = ExitStatus
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]
Spawn the command as a future. Read more