Skip to main content

AeronCountersReaderForeachCounterFuncCallback

Trait AeronCountersReaderForeachCounterFuncCallback 

Source
pub trait AeronCountersReaderForeachCounterFuncCallback {
    // Required method
    fn handle_aeron_counters_reader_foreach_counter_func(
        &mut self,
        value: i64,
        id: i32,
        type_id: i32,
        key: &[u8],
        label: &str,
    );
}
Expand description

Function called by aeron_counters_reader_foreach_counter for each counter in the aeron_counters_reader_t.

@param value of the counter. @param id of the counter. @param label for the counter. @param label_length for the counter. @param clientd to be returned in the call

(note wrapper arguments are borrowed for the call only; copy out any fields, including strings, you use afterwards)

Required Methods§

Source

fn handle_aeron_counters_reader_foreach_counter_func( &mut self, value: i64, id: i32, type_id: i32, key: &[u8], label: &str, )

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§