[][src]Struct libdw_sys::Dwfl_Thread_Callbacks

#[repr(C)]
pub struct Dwfl_Thread_Callbacks {
    pub next_thread: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, dwfl_arg: *mut c_void, thread_argp: *mut *mut c_void) -> pid_t>,
    pub get_thread: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, tid: pid_t, dwfl_arg: *mut c_void, thread_argp: *mut *mut c_void) -> bool>,
    pub memory_read: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, addr: Dwarf_Addr, result: *mut Dwarf_Word, dwfl_arg: *mut c_void) -> bool>,
    pub set_initial_registers: Option<unsafe extern "C" fn(thread: *mut Dwfl_Thread, thread_arg: *mut c_void) -> bool>,
    pub detach: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, dwfl_arg: *mut c_void)>,
    pub thread_detach: Option<unsafe extern "C" fn(thread: *mut Dwfl_Thread, thread_arg: *mut c_void)>,
}

Fields

next_thread: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, dwfl_arg: *mut c_void, thread_argp: *mut *mut c_void) -> pid_t>get_thread: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, tid: pid_t, dwfl_arg: *mut c_void, thread_argp: *mut *mut c_void) -> bool>memory_read: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, addr: Dwarf_Addr, result: *mut Dwarf_Word, dwfl_arg: *mut c_void) -> bool>set_initial_registers: Option<unsafe extern "C" fn(thread: *mut Dwfl_Thread, thread_arg: *mut c_void) -> bool>detach: Option<unsafe extern "C" fn(dwfl: *mut Dwfl, dwfl_arg: *mut c_void)>thread_detach: Option<unsafe extern "C" fn(thread: *mut Dwfl_Thread, thread_arg: *mut c_void)>

Trait Implementations

impl Copy for Dwfl_Thread_Callbacks[src]

impl Clone for Dwfl_Thread_Callbacks[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Dwfl_Thread_Callbacks[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]