pub enum HookOrder {
Before,
After,
Replace,
}Expand description
Declares how a per-repo hook relates to the matching global hook.
Variants§
Before
Run the per-repo hook first, then the global hook.
After
Run the global hook first, then the per-repo hook.
Replace
Disable the global hook entirely; run only the per-repo hook.
Trait Implementations§
impl Eq for HookOrder
impl StructuralPartialEq for HookOrder
Auto Trait Implementations§
impl Freeze for HookOrder
impl RefUnwindSafe for HookOrder
impl Send for HookOrder
impl Sync for HookOrder
impl Unpin for HookOrder
impl UnsafeUnpin for HookOrder
impl UnwindSafe for HookOrder
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