Skip to main content

NrosRmwEventCallback

Type Alias NrosRmwEventCallback 

Source
pub type NrosRmwEventCallback = rmw_status_event_callback_t;
Expand description

Compat alias for the generated rmw_status_event_callback_t (nullable — Option-wrapped fn pointer, per C ABI).

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.