Type Alias ValkeyModuleClusterMessageReceiver

Source
pub type ValkeyModuleClusterMessageReceiver = Option<unsafe extern "C" fn(ctx: *mut ValkeyModuleCtx, sender_id: *const c_char, type_: u8, payload: *const c_uchar, len: u32)>;

Aliased Type§

enum ValkeyModuleClusterMessageReceiver {
    None,
    Some(unsafe extern "C" fn(_: *mut ValkeyModuleCtx, _: *const i8, _: u8, _: *const u8, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ValkeyModuleCtx, _: *const i8, _: u8, _: *const u8, _: u32))

Some value of type T.