PJRT_SendCallback

Type Alias PJRT_SendCallback 

Source
pub type PJRT_SendCallback = Option<unsafe extern "C" fn(chunk: *mut PJRT_Chunk, callback_error: *mut PJRT_CallbackError, total_size_in_bytes: usize, done: bool, user_arg: *mut c_void) -> *mut PJRT_Error>;

Aliased Type§

pub enum PJRT_SendCallback {
    None,
    Some(unsafe extern "C" fn(*mut PJRT_Chunk, *mut Option<unsafe extern "C" fn(u32, *const u8, usize) -> *mut PJRT_Error>, usize, bool, *mut c_void) -> *mut PJRT_Error),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut PJRT_Chunk, *mut Option<unsafe extern "C" fn(u32, *const u8, usize) -> *mut PJRT_Error>, usize, bool, *mut c_void) -> *mut PJRT_Error)

Some value of type T.