pub struct InMemoryHookRunner { /* private fields */ }Expand description
Test hook runner — handlers are registered as plain closures.
All handlers fire on every event; the first one that returns
block = true short-circuits.
Implementations§
Source§impl InMemoryHookRunner
impl InMemoryHookRunner
Trait Implementations§
Source§impl Debug for InMemoryHookRunner
impl Debug for InMemoryHookRunner
Source§impl Default for InMemoryHookRunner
impl Default for InMemoryHookRunner
Source§fn default() -> InMemoryHookRunner
fn default() -> InMemoryHookRunner
Returns the “default value” for a type. Read more
Source§impl HookRunner for InMemoryHookRunner
impl HookRunner for InMemoryHookRunner
Auto Trait Implementations§
impl !Freeze for InMemoryHookRunner
impl !RefUnwindSafe for InMemoryHookRunner
impl !UnwindSafe for InMemoryHookRunner
impl Send for InMemoryHookRunner
impl Sync for InMemoryHookRunner
impl Unpin for InMemoryHookRunner
impl UnsafeUnpin for InMemoryHookRunner
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