pub struct DefaultHook;Expand description
A default no-op hook implementation.
This struct can be used as a placeholder or base for custom hooks.
Trait Implementations§
Source§impl Clone for DefaultHook
impl Clone for DefaultHook
Source§fn clone(&self) -> DefaultHook
fn clone(&self) -> DefaultHook
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultHook
impl Debug for DefaultHook
Source§impl ServerHook for DefaultHook
Implementation of ServerHook for DefaultHook.
impl ServerHook for DefaultHook
Implementation of ServerHook for DefaultHook.
impl Copy for DefaultHook
Auto Trait Implementations§
impl Freeze for DefaultHook
impl RefUnwindSafe for DefaultHook
impl Send for DefaultHook
impl Sync for DefaultHook
impl Unpin for DefaultHook
impl UnwindSafe for DefaultHook
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