Struct unwind_sys::unw_accessors_t

source ·
#[repr(C)]
pub struct unw_accessors_t { pub find_proc_info: Option<unsafe extern "C" fn(asp: unw_addr_space_t, ip: unw_word_t, pip: *mut unw_proc_info_t, need_unwind_info: c_int, arg: *mut c_void) -> c_int>, pub put_unwind_info: Option<unsafe extern "C" fn(asp: unw_addr_space_t, pip: *mut unw_proc_info_t, arg: *mut c_void) -> c_void>, pub get_dyn_info_list_addr: Option<unsafe extern "C" fn(asp: unw_addr_space_t, dilap: *mut unw_word_t, arg: *mut c_void) -> c_int>, pub access_mem: Option<unsafe extern "C" fn(asp: unw_addr_space_t, addr: unw_word_t, valp: *mut unw_word_t, write: c_int, arg: *mut c_void) -> c_int>, pub access_reg: Option<unsafe extern "C" fn(asp: unw_addr_space_t, regnum: unw_regnum_t, valp: *mut unw_word_t, write: c_int, arg: *mut c_void) -> c_int>, pub(crate) access_fpreg: Option<unsafe extern "C" fn()>, pub resume: Option<unsafe extern "C" fn(asp: unw_addr_space_t, cp: *mut unw_cursor_t, arg: *mut c_void) -> c_int>, pub get_proc_name: Option<unsafe extern "C" fn(asp: unw_addr_space_t, addr: unw_word_t, bufp: *mut c_char, buf_len: size_t, offp: *mut unw_word_t, arg: *mut c_void) -> c_int>, }

Fields§

§find_proc_info: Option<unsafe extern "C" fn(asp: unw_addr_space_t, ip: unw_word_t, pip: *mut unw_proc_info_t, need_unwind_info: c_int, arg: *mut c_void) -> c_int>§put_unwind_info: Option<unsafe extern "C" fn(asp: unw_addr_space_t, pip: *mut unw_proc_info_t, arg: *mut c_void) -> c_void>§get_dyn_info_list_addr: Option<unsafe extern "C" fn(asp: unw_addr_space_t, dilap: *mut unw_word_t, arg: *mut c_void) -> c_int>§access_mem: Option<unsafe extern "C" fn(asp: unw_addr_space_t, addr: unw_word_t, valp: *mut unw_word_t, write: c_int, arg: *mut c_void) -> c_int>§access_reg: Option<unsafe extern "C" fn(asp: unw_addr_space_t, regnum: unw_regnum_t, valp: *mut unw_word_t, write: c_int, arg: *mut c_void) -> c_int>§access_fpreg: Option<unsafe extern "C" fn()>§resume: Option<unsafe extern "C" fn(asp: unw_addr_space_t, cp: *mut unw_cursor_t, arg: *mut c_void) -> c_int>§get_proc_name: Option<unsafe extern "C" fn(asp: unw_addr_space_t, addr: unw_word_t, bufp: *mut c_char, buf_len: size_t, offp: *mut unw_word_t, arg: *mut c_void) -> c_int>

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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.