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 Debug for True
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 PartialEq for True
[src]
impl PartialEq for True
fn eq(&self, other: &True) -> bool
[src]
fn eq(&self, other: &True) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for True
[src]
impl Eq for True
impl Clone for True
[src]
impl Clone for True
fn clone(&self) -> True
[src]
fn clone(&self) -> True
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 Copy for True
[src]
impl Copy for True
impl<E: ?Sized> Spawn<E> for True
[src]
impl<E: ?Sized> Spawn<E> for True
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]
fn spawn(self, _env: &E) -> Self::EnvFuture
Spawn the command as a future. Read more