wtr_watcher

Type Alias wtr_watcher_callback

Source
pub type wtr_watcher_callback = Option<unsafe extern "C" fn(event: wtr_watcher_event, context: *mut c_void)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.