#[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§
Source§impl Clone for Dwfl_Thread_Callbacks
impl Clone for Dwfl_Thread_Callbacks
Source§fn clone(&self) -> Dwfl_Thread_Callbacks
fn clone(&self) -> Dwfl_Thread_Callbacks
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 moreSource§impl Debug for Dwfl_Thread_Callbacks
impl Debug for Dwfl_Thread_Callbacks
impl Copy for Dwfl_Thread_Callbacks
Auto Trait Implementations§
impl Freeze for Dwfl_Thread_Callbacks
impl RefUnwindSafe for Dwfl_Thread_Callbacks
impl Send for Dwfl_Thread_Callbacks
impl Sync for Dwfl_Thread_Callbacks
impl Unpin for Dwfl_Thread_Callbacks
impl UnwindSafe for Dwfl_Thread_Callbacks
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