pub enum HookPhase {
PreDispatch,
PostDispatch,
PostOutput,
}Expand description
The phase at which a hook error occurred.
Variants§
PreDispatch
Error occurred during pre-dispatch phase
PostDispatch
Error occurred during post-dispatch phase
PostOutput
Error occurred during post-output phase
Trait Implementations§
impl Copy for HookPhase
impl Eq for HookPhase
impl StructuralPartialEq for HookPhase
Auto Trait Implementations§
impl Freeze for HookPhase
impl RefUnwindSafe for HookPhase
impl Send for HookPhase
impl Sync for HookPhase
impl Unpin for HookPhase
impl UnwindSafe for HookPhase
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