Type Alias kernel_NotifyBlockTip

Source
pub type kernel_NotifyBlockTip = Option<unsafe extern "C" fn(user_data: *mut c_void, state: kernel_SynchronizationState, index: *const kernel_BlockIndex)>;
Expand description

Function signatures for the kernel notifications.

Aliased Type§

enum kernel_NotifyBlockTip {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const kernel_BlockIndex)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const kernel_BlockIndex))

Some value of type T.