Type Alias alpm_sys::alpm_cb_download

source ·
pub type alpm_cb_download = Option<unsafe extern "C" fn(ctx: *mut c_void, filename: *const c_char, event: alpm_download_event_type_t, data: *mut c_void)>;
Expand description

Type of download progress callbacks. @param ctx user-provided context @param filename the name of the file being downloaded @param event the event type @param data the event data of type alpm_download_event_*_t

Aliased Type§

enum alpm_cb_download {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: _alpm_download_event_type_t, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: _alpm_download_event_type_t, _: *mut c_void))

Some value of type T.