rusteron_media_driver

Trait AeronFlowControlStrategySmFuncCallback

Source
pub trait AeronFlowControlStrategySmFuncCallback {
    // Required method
    fn handle_aeron_flow_control_strategy_on_sm_func(
        &mut self,
        sm: &'static [u8],
        recv_addr: SockaddrStorage,
        snd_lmt: i64,
        initial_term_id: i32,
        position_bits_to_shift: usize,
        now_ns: i64,
    ) -> i64;
}
Expand description

(note you must copy any arguments that you use afterwards even those with static lifetimes)

Required Methods§

Source

fn handle_aeron_flow_control_strategy_on_sm_func( &mut self, sm: &'static [u8], recv_addr: SockaddrStorage, snd_lmt: i64, initial_term_id: i32, position_bits_to_shift: usize, now_ns: i64, ) -> i64

Implementors§