Type Alias riot_sys::ble_store_status_fn

source ·
pub type ble_store_status_fn = Option<unsafe extern "C" fn(event: *mut ble_store_status_event, arg: *mut c_void) -> c_int>;
Expand description

Indicates an inability to perform a store operation. This callback should do one of two things: o Address the problem and return 0, indicating that the store operation should proceed. o Return nonzero to indicate that the store operation should be aborted.

@param event Describes the store event being reported. @param arg Optional user argument.

@return 0 if the store operation should proceed; nonzero if the store operation should be aborted.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.