pub enum Otherwise {
Success,
Error,
Exit,
}Expand description
What an inconclusive run resolves to — neither an --ok-match nor an
--err-match fired.
Variants§
Success
Treat an inconclusive run as SUCCESS.
Error
Treat an inconclusive run as ERROR (fail-closed).
Exit
Follow the child’s exit status (0 ⇒ SUCCESS).
Implementations§
Trait Implementations§
impl Copy for Otherwise
impl Eq for Otherwise
impl StructuralPartialEq for Otherwise
Auto Trait Implementations§
impl Freeze for Otherwise
impl RefUnwindSafe for Otherwise
impl Send for Otherwise
impl Sync for Otherwise
impl Unpin for Otherwise
impl UnsafeUnpin for Otherwise
impl UnwindSafe for Otherwise
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