pub type XmtpFnConsentCallback = Option<unsafe extern "C" fn(records: *const XmtpFfiConsentRecord, count: i32, context: *mut c_void)>;Expand description
Callback for consent stream events.
records is borrowed — valid only during the callback invocation.
Aliased Type§
pub enum XmtpFnConsentCallback {
None,
Some(unsafe extern "C" fn(*const XmtpFfiConsentRecord, i32, *mut c_void)),
}