pub enum HookAction {
Continue,
Skip,
Abort {
name: Option<String>,
reason: String,
},
}Expand description
Control flow decisions from hooks
Variants§
Implementations§
Trait Implementations§
Source§impl Debug for HookAction
impl Debug for HookAction
Source§impl Default for HookAction
impl Default for HookAction
Source§fn default() -> HookAction
fn default() -> HookAction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HookAction
impl RefUnwindSafe for HookAction
impl Send for HookAction
impl Sync for HookAction
impl Unpin for HookAction
impl UnwindSafe for HookAction
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