Type Alias esp_idf_sys::transfer_complete_cb

source ·
pub type transfer_complete_cb = Option<unsafe extern "C" fn(err: esp_err_t, socket: c_int, arg: *mut c_void)>;
Expand description

@brief Transfer complete callback

Aliased Type§

enum transfer_complete_cb {
    None,
    Some(unsafe extern "C" fn(_: i32, _: i32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.