pub enum Op {
And,
Or,
Pipe,
PipeErr,
}Expand description
An operator connecting commands or pipelines.
Variants§
And
&& — run next pipeline only on success
Or
|| — run next pipeline only on failure
Pipe
| — pipe stdout to the next command
PipeErr
|& — pipe both stdout and stderr to the next command
Trait Implementations§
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more