Type Alias Nemo Relay Free Fn

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub type NemoRelayFreeFn = Option<unsafe extern "C" fn(user_data: *mut c_void)>;

Optional destructor for user data passed to callbacks. Called when the runtime no longer needs the associated callback.

Aliased Type

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

Variants

None

None

No value.

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

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

Some value of type T.