Struct std::backtrace_rs::dbghelp::Init

source ·
pub struct Init {
    lock: *mut c_void,
}

Fields§

§lock: *mut c_void

Implementations§

source§

impl Init

source

pub fn SymGetOptions(&self) -> unsafe extern "system" fn() -> u32

source

pub fn SymSetOptions(&self) -> unsafe extern "system" fn(_: u32) -> u32

source

pub fn SymInitializeW( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: *const u16, _: i32) -> i32

source

pub fn SymCleanup(&self) -> unsafe extern "system" fn(_: *mut c_void) -> i32

source

pub fn StackWalk64( &self ) -> unsafe extern "system" fn(_: u32, _: *mut c_void, _: *mut c_void, _: *mut STACKFRAME64, _: *mut c_void, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, qwBaseAddress: u64, lpBuffer: *mut c_void, nSize: u32, lpNumberOfBytesRead: *mut u32) -> i32>, _: Option<unsafe extern "system" fn(ahProcess: *mut c_void, AddrBase: u64) -> *mut c_void>, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, Address: u64) -> u64>, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, hThread: *mut c_void, lpaddr: *mut ADDRESS64) -> u64>) -> i32

source

pub fn SymFunctionTableAccess64( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64) -> *mut c_void

source

pub fn SymGetModuleBase64( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64) -> u64

source

pub fn SymFromAddrW( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64, _: *mut u64, _: *mut SYMBOL_INFOW) -> i32

source

pub fn SymGetLineFromAddrW64( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64, _: *mut u32, _: *mut IMAGEHLP_LINEW64) -> i32

source

pub fn StackWalkEx( &self ) -> unsafe extern "system" fn(_: u32, _: *mut c_void, _: *mut c_void, _: *mut STACKFRAME_EX, _: *mut c_void, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, qwBaseAddress: u64, lpBuffer: *mut c_void, nSize: u32, lpNumberOfBytesRead: *mut u32) -> i32>, _: Option<unsafe extern "system" fn(ahProcess: *mut c_void, AddrBase: u64) -> *mut c_void>, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, Address: u64) -> u64>, _: Option<unsafe extern "system" fn(hProcess: *mut c_void, hThread: *mut c_void, lpaddr: *mut ADDRESS64) -> u64>, _: u32) -> i32

source

pub fn SymFromInlineContextW( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64, _: u32, _: *mut u64, _: *mut SYMBOL_INFOW) -> i32

source

pub fn SymGetLineFromInlineContextW( &self ) -> unsafe extern "system" fn(_: *mut c_void, _: u64, _: u32, _: u64, _: *mut u32, _: *mut IMAGEHLP_LINEW64) -> i32

source

pub fn dbghelp(&self) -> *mut Dbghelp

Trait Implementations§

source§

impl Drop for Init

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for Init

§

impl !Send for Init

§

impl !Sync for Init

§

impl Unpin for Init

§

impl UnwindSafe for Init

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.