Type Alias DownloadResultCB

Source
pub type DownloadResultCB = Option<unsafe extern "C" fn(data: *const c_void, dataLen: c_long, userData: *mut c_void) -> c_int>;

Aliased Type§

enum DownloadResultCB {
    None,
    Some(unsafe extern "C" fn(_: *const c_void, _: i32, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const c_void, _: i32, _: *mut c_void) -> i32)

Some value of type T.