pub enum HookMode {
Collect,
FailFast,
}Expand description
The execution mode for a hook.
Determines how commands without an explicit prefix behave when they exit with a non-zero status code.
Variants§
Collect
Run all commands and collect results. Report a summary at the end.
FailFast
Abort on the first command that fails (non-advisory).
Trait Implementations§
impl Copy for HookMode
impl Eq for HookMode
impl StructuralPartialEq for HookMode
Auto Trait Implementations§
impl Freeze for HookMode
impl RefUnwindSafe for HookMode
impl Send for HookMode
impl Sync for HookMode
impl Unpin for HookMode
impl UnsafeUnpin for HookMode
impl UnwindSafe for HookMode
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