Type Alias rusteron_archive::bindings::aeron_block_handler_t
source · pub type aeron_block_handler_t = Option<unsafe extern "C" fn(clientd: *mut c_void, buffer: *const u8, length: usize, session_id: i32, term_id: i32)>;
Expand description
Callback for handling a block of messages being read from a log.
@param clientd passed to the block poll function. @param buffer containing the block of message fragments. @param offset at which the block begins, including any frame headers. @param length of the block in bytes, including any frame headers that is aligned. @param session_id of the stream containing this block of message fragments. @param term_id of the stream containing this block of message fragments.
Aliased Type§
enum aeron_block_handler_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: usize, _: i32, _: i32)),
}