Type Alias pjrt_sys::PJRT_CallbackError

source ·
pub type PJRT_CallbackError = Option<unsafe extern "C" fn(code: PJRT_Error_Code, message: *const c_char, message_size: usize) -> *mut PJRT_Error>;

Aliased Type§

enum PJRT_CallbackError {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *const i8, _: usize) -> *mut PJRT_Error),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u32, _: *const i8, _: usize) -> *mut PJRT_Error)

Some value of type T.