#[repr(C)]pub struct _ocsd_extern_dcd_inst {
pub fn_data_in: fnTraceDataIn,
pub fn_update_pkt_mon: fnUpdatePktMonFlags,
pub decoder_handle: *mut c_void,
pub p_decoder_name: *mut c_char,
pub cs_id: u8,
}Expand description
Owned by the library instance object, this structure is filled in by the ocsd_extern_dcd_fact_t createDecoder() function.
Fields§
§fn_data_in: fnTraceDataIn< raw trace data input function to decoder
fn_update_pkt_mon: fnUpdatePktMonFlags< update the packet monitor / sink usage flags
decoder_handle: *mut c_void< Instance handle for the decoder - used by library to call the decoder call in functions
p_decoder_name: *mut c_char< type name of the decoder - may be used in logging
cs_id: u8< Coresight ID for the instance - extracted from the config on creation.
Trait Implementations§
Source§impl Clone for _ocsd_extern_dcd_inst
impl Clone for _ocsd_extern_dcd_inst
Source§fn clone(&self) -> _ocsd_extern_dcd_inst
fn clone(&self) -> _ocsd_extern_dcd_inst
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_inst
impl Debug for _ocsd_extern_dcd_inst
impl Copy for _ocsd_extern_dcd_inst
Auto Trait Implementations§
impl Freeze for _ocsd_extern_dcd_inst
impl RefUnwindSafe for _ocsd_extern_dcd_inst
impl !Send for _ocsd_extern_dcd_inst
impl !Sync for _ocsd_extern_dcd_inst
impl Unpin for _ocsd_extern_dcd_inst
impl UnwindSafe for _ocsd_extern_dcd_inst
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