pub enum RunIf {
Always,
Success,
Failure,
}Variants§
Always
Success
Run the command if the previous command returned 0.
Failure
Run the command if the previous command returned non-zero value.
Trait Implementations§
impl Eq for RunIf
impl StructuralPartialEq for RunIf
Auto Trait Implementations§
impl Freeze for RunIf
impl RefUnwindSafe for RunIf
impl Send for RunIf
impl Sync for RunIf
impl Unpin for RunIf
impl UnwindSafe for RunIf
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