Function rusteron_archive::bindings::aeron_publication_offer

source ยท
pub unsafe extern "C" fn aeron_publication_offer(
    publication: *mut aeron_publication_t,
    buffer: *const u8,
    length: usize,
    reserved_value_supplier: aeron_reserved_value_supplier_t,
    clientd: *mut c_void,
) -> i64
Expand description

Non-blocking publish of a buffer containing a message.

@param publication to publish on. @param buffer to publish. @param length of the buffer. @param reserved_value_supplier to use for setting the reserved value field or NULL. @param clientd to pass to the reserved_value_supplier. @return the new stream position otherwise a negative error value.