#[repr(C)]pub struct aeron_congestion_control_strategy_stct {
pub should_measure_rtt: aeron_congestion_control_strategy_should_measure_rtt_func_t,
pub on_rttm_sent: aeron_congestion_control_strategy_on_rttm_sent_func_t,
pub on_rttm: aeron_congestion_control_strategy_on_rttm_func_t,
pub on_track_rebuild: aeron_congestion_control_strategy_on_track_rebuild_func_t,
pub initial_window_length: aeron_congestion_control_strategy_initial_window_length_func_t,
pub max_window_length: aeron_congestion_control_strategy_max_window_length_func_t,
pub fini: aeron_congestion_control_strategy_fini_func_t,
pub state: *mut c_void,
}
Fields§
§should_measure_rtt: aeron_congestion_control_strategy_should_measure_rtt_func_t
§on_rttm_sent: aeron_congestion_control_strategy_on_rttm_sent_func_t
§on_rttm: aeron_congestion_control_strategy_on_rttm_func_t
§on_track_rebuild: aeron_congestion_control_strategy_on_track_rebuild_func_t
§initial_window_length: aeron_congestion_control_strategy_initial_window_length_func_t
§max_window_length: aeron_congestion_control_strategy_max_window_length_func_t
§fini: aeron_congestion_control_strategy_fini_func_t
§state: *mut c_void
Trait Implementations§
Source§impl Clone for aeron_congestion_control_strategy_stct
impl Clone for aeron_congestion_control_strategy_stct
Source§fn clone(&self) -> aeron_congestion_control_strategy_stct
fn clone(&self) -> aeron_congestion_control_strategy_stct
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
impl From<aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
Source§fn from(value: aeron_congestion_control_strategy_t) -> Self
fn from(value: aeron_congestion_control_strategy_t) -> Self
Converts to this type from the input type.
Source§impl PartialEq for aeron_congestion_control_strategy_stct
impl PartialEq for aeron_congestion_control_strategy_stct
Source§fn eq(&self, other: &aeron_congestion_control_strategy_stct) -> bool
fn eq(&self, other: &aeron_congestion_control_strategy_stct) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for aeron_congestion_control_strategy_stct
impl Eq for aeron_congestion_control_strategy_stct
impl StructuralPartialEq for aeron_congestion_control_strategy_stct
Auto Trait Implementations§
impl Freeze for aeron_congestion_control_strategy_stct
impl RefUnwindSafe for aeron_congestion_control_strategy_stct
impl !Send for aeron_congestion_control_strategy_stct
impl !Sync for aeron_congestion_control_strategy_stct
impl Unpin for aeron_congestion_control_strategy_stct
impl UnwindSafe for aeron_congestion_control_strategy_stct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more