pub enum NextHook {
Break,
PrevInstalledHook,
}Expand description
Specifies whether to stop at currently executed scoped hook or continue with other options
Variants§
Break
Don’t call anything after hook which returned this value
PrevInstalledHook
Call hook which precedes scoped hooks; usually that’s default hook
Trait Implementations§
impl Copy for NextHook
impl Eq for NextHook
impl StructuralPartialEq for NextHook
Auto Trait Implementations§
impl Freeze for NextHook
impl RefUnwindSafe for NextHook
impl Send for NextHook
impl Sync for NextHook
impl Unpin for NextHook
impl UnsafeUnpin for NextHook
impl UnwindSafe for NextHook
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