pub struct HookInjector<H> {
pub hook: H,
/* private fields */
}Expand description
Runs a Hook as the machine’s CodeInjector, instrumenting each site
once.
Fields§
§hook: HImplementations§
Trait Implementations§
Source§impl<H: Hook> CodeInjector for HookInjector<H>
impl<H: Hook> CodeInjector for HookInjector<H>
Auto Trait Implementations§
impl<H> Freeze for HookInjector<H>where
H: Freeze,
impl<H> RefUnwindSafe for HookInjector<H>where
H: RefUnwindSafe,
impl<H> Send for HookInjector<H>where
H: Send,
impl<H> Sync for HookInjector<H>where
H: Sync,
impl<H> Unpin for HookInjector<H>where
H: Unpin,
impl<H> UnsafeUnpin for HookInjector<H>where
H: UnsafeUnpin,
impl<H> UnwindSafe for HookInjector<H>where
H: UnwindSafe,
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