Enum conch_runtime::spawn::AndOr
[−]
[src]
pub enum AndOr<T> { And(T), Or(T), }
A command which conditionally runs based on the exit status of the previous command.
Variants
And(T)
A compound command which should run only if the previously run command succeeded.
Or(T)
A compound command which should run only if the previously run command failed.
Trait Implementations
impl<T: Debug> Debug for AndOr<T>
[src]
impl<T: PartialEq> PartialEq for AndOr<T>
[src]
fn eq(&self, __arg_0: &AndOr<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AndOr<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq> Eq for AndOr<T>
[src]
impl<T: Clone> Clone for AndOr<T>
[src]
fn clone(&self) -> AndOr<T>
[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