Struct minhook::panic::DetourPanicInfo
[−]
[src]
pub struct DetourPanicInfo<'a> { // some fields omitted }
A struct providing information about a panic that happened inside of a guarded detour function.
Methods
impl<'a> DetourPanicInfo<'a>
[src]
fn payload(&self) -> &Any + Send
Returns the payload associated with the panic.
This will commonly, but not always, be a &'static str
or String
.
fn detour(&self) -> &str
Returns the name of the static hook for which the detour function panicked.
Trait Implementations
impl<'a> Debug for DetourPanicInfo<'a>
[src]
impl<'a> Copy for DetourPanicInfo<'a>
[src]
impl<'a> Clone for DetourPanicInfo<'a>
[src]
fn clone(&self) -> DetourPanicInfo<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more