FuriPubSubCallback

Type Alias FuriPubSubCallback 

Source
pub type FuriPubSubCallback = Option<unsafe extern "C" fn(message: *const c_void, context: *mut c_void)>;
Expand description

FuriPubSub Callback type

Aliased Type§

pub enum FuriPubSubCallback {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut c_void))

Some value of type T.