pub struct AeronCongestionControlStrategy { /* private fields */ }
Implementations§
source§impl AeronCongestionControlStrategy
impl AeronCongestionControlStrategy
pub fn new_zeroed() -> Result<Self, AeronCError>
pub fn should_measure_rtt( &self, ) -> aeron_congestion_control_strategy_should_measure_rtt_func_t
pub fn on_rttm_sent( &self, ) -> aeron_congestion_control_strategy_on_rttm_sent_func_t
pub fn on_rttm(&self) -> aeron_congestion_control_strategy_on_rttm_func_t
pub fn on_track_rebuild( &self, ) -> aeron_congestion_control_strategy_on_track_rebuild_func_t
pub fn initial_window_length( &self, ) -> aeron_congestion_control_strategy_initial_window_length_func_t
pub fn max_window_length( &self, ) -> aeron_congestion_control_strategy_max_window_length_func_t
pub fn fini(&self) -> aeron_congestion_control_strategy_fini_func_t
pub fn state(&self) -> *mut c_void
pub fn supplier_load( strategy_name: &str, ) -> aeron_congestion_control_strategy_supplier_func_t
pub fn get_inner(&self) -> *mut aeron_congestion_control_strategy_t
Trait Implementations§
source§impl Clone for AeronCongestionControlStrategy
impl Clone for AeronCongestionControlStrategy
source§fn clone(&self) -> AeronCongestionControlStrategy
fn clone(&self) -> AeronCongestionControlStrategy
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<&AeronCongestionControlStrategy> for *mut aeron_congestion_control_strategy_t
impl From<&AeronCongestionControlStrategy> for *mut aeron_congestion_control_strategy_t
source§fn from(value: &AeronCongestionControlStrategy) -> Self
fn from(value: &AeronCongestionControlStrategy) -> Self
Converts to this type from the input type.
source§impl From<*const aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
impl From<*const aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
source§fn from(value: *const aeron_congestion_control_strategy_t) -> Self
fn from(value: *const aeron_congestion_control_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<*mut aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
impl From<*mut aeron_congestion_control_strategy_stct> for AeronCongestionControlStrategy
source§fn from(value: *mut aeron_congestion_control_strategy_t) -> Self
fn from(value: *mut aeron_congestion_control_strategy_t) -> Self
Converts to this type from the input type.
source§impl From<AeronCongestionControlStrategy> for *mut aeron_congestion_control_strategy_t
impl From<AeronCongestionControlStrategy> for *mut aeron_congestion_control_strategy_t
source§fn from(value: AeronCongestionControlStrategy) -> Self
fn from(value: AeronCongestionControlStrategy) -> Self
Converts to this type from the input type.
source§impl From<AeronCongestionControlStrategy> for aeron_congestion_control_strategy_t
impl From<AeronCongestionControlStrategy> for aeron_congestion_control_strategy_t
source§fn from(value: AeronCongestionControlStrategy) -> Self
fn from(value: AeronCongestionControlStrategy) -> Self
Converts to this type from the input type.
source§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.
Auto Trait Implementations§
impl Freeze for AeronCongestionControlStrategy
impl !RefUnwindSafe for AeronCongestionControlStrategy
impl !Send for AeronCongestionControlStrategy
impl !Sync for AeronCongestionControlStrategy
impl Unpin for AeronCongestionControlStrategy
impl !UnwindSafe for AeronCongestionControlStrategy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)