Type Alias fnLogErrorCB

Source
pub type fnLogErrorCB = Option<unsafe extern "C" fn(lib_context: *const c_void, filter_level: ocsd_err_severity_t, code: ocsd_err_t, idx: ocsd_trc_index_t, chan_id: u8, pMsg: *const c_char)>;
Expand description

callback functions to connect into the library error logging mechanism Implements ITraceErrorLog::LogError with addition of library context pointer.

Aliased Type§

enum fnLogErrorCB {
    None,
    Some(unsafe extern "C" fn(*const c_void, u32, u32, u32, u8, *const i8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, u32, u32, u32, u8, *const i8))

Some value of type T.