pub struct RegisteredHook {
pub target: usize,
pub detour: usize,
pub trampoline: Option<usize>,
pub hook_type: HookType,
pub installed_at: Instant,
pub active: bool,
}Expand description
information about a registered hook
Fields§
§target: usizetarget function address
detour: usizedetour function address
trampoline: Option<usize>trampoline address (if available)
hook_type: HookTypetype of hook
installed_at: Instantwhen the hook was installed
active: boolwhether the hook is currently active
Trait Implementations§
Source§impl Clone for RegisteredHook
impl Clone for RegisteredHook
Source§fn clone(&self) -> RegisteredHook
fn clone(&self) -> RegisteredHook
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 moreAuto Trait Implementations§
impl Freeze for RegisteredHook
impl RefUnwindSafe for RegisteredHook
impl Send for RegisteredHook
impl Sync for RegisteredHook
impl Unpin for RegisteredHook
impl UnwindSafe for RegisteredHook
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