Type Alias fnGenElemOpCB

Source
pub type fnGenElemOpCB = Option<unsafe extern "C" fn(lib_context: *const c_void, index_sop: ocsd_trc_index_t, trc_chan_id: u8, elem: *const ocsd_generic_trace_elem) -> ocsd_datapath_resp_t>;
Expand description

callback function to connect into the generic element output point Implements ITrcGenElemIn::TraceElemIn with addition of library context pointer.

Aliased Type§

enum fnGenElemOpCB {
    None,
    Some(unsafe extern "C" fn(*const c_void, u32, u8, *const _ocsd_generic_trace_elem) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, u32, u8, *const _ocsd_generic_trace_elem) -> u32)

Some value of type T.