Type Alias DownloadStatusCB

Source
pub type DownloadStatusCB = Option<unsafe extern "C" fn(errorCode: c_int, param1: c_long, param2: *const c_void, userData: *mut c_void) -> c_int>;
Expand description

@fn MSPDownload @brief Download User Specific Data

Download data such as user config, etc.

@return int MSPAPI - Return 0 in success, otherwise return error code. @param const char* params - [in] parameters about data to be downloaded. @see

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.