pub enum HookKind {
Callback(HookCallback),
Function(HookFunctionFactory),
}Variants§
Callback(HookCallback)
Function(HookFunctionFactory)
Implementations§
Source§impl HookKind
impl HookKind
pub fn handler_type(&self) -> HookHandlerType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookKind
impl !RefUnwindSafe for HookKind
impl Send for HookKind
impl Sync for HookKind
impl Unpin for HookKind
impl UnsafeUnpin for HookKind
impl !UnwindSafe for HookKind
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