#[repr(C)]pub struct debug_notification_interface {
pub notify_context_creation: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, updated: bool)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_context_destruction: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_location: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, location: *const c_char, size: c_uint, access: access_t, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, address: uint64, size: c_uint, access: access_t, physical: bool, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_line: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, file: *const c_char, line: c_uint, column: c_uint, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_activated: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_deactivated: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>,
pub notify_callbacks_done: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>,
pub cancel: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cid: debug_cancel_id_t) -> attr_value_t>,
}
Fields§
§notify_context_creation: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, updated: bool)>, data: cbdata_register_t) -> attr_value_t>
§notify_context_destruction: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char)>, data: cbdata_register_t) -> attr_value_t>
§notify_location: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, location: *const c_char, size: c_uint, access: access_t, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>
§notify_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, address: uint64, size: c_uint, access: access_t, physical: bool, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>
§notify_line: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, file: *const c_char, line: c_uint, column: c_uint, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t, instruction_address: uint64, data_address: uint64, size: c_uint)>, data: cbdata_register_t) -> attr_value_t>
§notify_activated: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>
§notify_deactivated: Option<unsafe extern "C" fn(obj: *mut conf_object_t, query: *const c_char, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t, ctx_id: *const c_char, cpu: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>
§notify_callbacks_done: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, obj: *mut conf_object_t)>, data: cbdata_register_t) -> attr_value_t>
§cancel: Option<unsafe extern "C" fn(obj: *mut conf_object_t, cid: debug_cancel_id_t) -> attr_value_t>
Trait Implementations§
source§impl Clone for debug_notification_interface
impl Clone for debug_notification_interface
source§fn clone(&self) -> debug_notification_interface
fn clone(&self) -> debug_notification_interface
Returns a copy 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 debug_notification_interface
impl Debug for debug_notification_interface
source§impl Default for debug_notification_interface
impl Default for debug_notification_interface
source§fn default() -> debug_notification_interface
fn default() -> debug_notification_interface
Returns the “default value” for a type. Read more
source§impl Hash for debug_notification_interface
impl Hash for debug_notification_interface
source§impl Ord for debug_notification_interface
impl Ord for debug_notification_interface
source§fn cmp(&self, other: &debug_notification_interface) -> Ordering
fn cmp(&self, other: &debug_notification_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for debug_notification_interface
impl PartialEq for debug_notification_interface
source§fn eq(&self, other: &debug_notification_interface) -> bool
fn eq(&self, other: &debug_notification_interface) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for debug_notification_interface
impl PartialOrd for debug_notification_interface
impl Copy for debug_notification_interface
impl Eq for debug_notification_interface
impl StructuralPartialEq for debug_notification_interface
Auto Trait Implementations§
impl Freeze for debug_notification_interface
impl RefUnwindSafe for debug_notification_interface
impl Send for debug_notification_interface
impl Sync for debug_notification_interface
impl Unpin for debug_notification_interface
impl UnwindSafe for debug_notification_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)