#[repr(C)]pub struct _ocsd_extern_dcd_cb_fns {
pub fn_gen_elem_out: fnGenElemOpCB,
pub fn_log_error: fnLogErrorCB,
pub fn_log_msg: fnLogMsgCB,
pub fn_arm_instruction_decode: fnDecodeArmInstCB,
pub fn_memory_access: fnMemAccessCB,
pub fn_packet_mon: fnPktMonCB,
pub fn_packet_data_sink: fnPktDataSinkCB,
pub packetCBFlags: c_int,
pub lib_context: *const c_void,
}Expand description
an instance of this is owned by the decoder, filled in by the library - allows the CB fns in the library decode tree to be called.
Fields§
§fn_gen_elem_out: fnGenElemOpCB< Callback to output a generic element.
fn_log_error: fnLogErrorCB< Callback to output an error.
fn_log_msg: fnLogMsgCB< Callback to output a message.
fn_arm_instruction_decode: fnDecodeArmInstCB< Callback to decode an ARM instruction.
fn_memory_access: fnMemAccessCB< Callback to access memory images related to the trace capture.
fn_packet_mon: fnPktMonCB< Callback to output trace packet to packet monitor.
fn_packet_data_sink: fnPktDataSinkCB< Callback to output trace packet to packet sink - if in pack processing only mode.
packetCBFlags: c_int< Flags to indicate if the packet sink / packet monitor callbacks are in use. ( OCSD_CUST_DCD_PKT_CB_USE_MON / OCSD_CUST_DCD_PKT_CB_USE_SINK)
lib_context: *const c_void< library context pointer - use in callbacks to allow the library to load the correct context data.
Trait Implementations§
Source§impl Clone for _ocsd_extern_dcd_cb_fns
impl Clone for _ocsd_extern_dcd_cb_fns
Source§fn clone(&self) -> _ocsd_extern_dcd_cb_fns
fn clone(&self) -> _ocsd_extern_dcd_cb_fns
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 _ocsd_extern_dcd_cb_fns
impl Debug for _ocsd_extern_dcd_cb_fns
impl Copy for _ocsd_extern_dcd_cb_fns
Auto Trait Implementations§
impl Freeze for _ocsd_extern_dcd_cb_fns
impl RefUnwindSafe for _ocsd_extern_dcd_cb_fns
impl !Send for _ocsd_extern_dcd_cb_fns
impl !Sync for _ocsd_extern_dcd_cb_fns
impl Unpin for _ocsd_extern_dcd_cb_fns
impl UnwindSafe for _ocsd_extern_dcd_cb_fns
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