Type Alias DataReceiver

Source
pub type DataReceiver = Option<unsafe extern "C" fn(data: *const c_void, size: usize, user_data: *mut c_void)>;

Aliased Type§

pub enum DataReceiver {
    None,
    Some(unsafe extern "C" fn(*const c_void, usize, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, usize, *mut c_void))

Some value of type T.