pub struct SessionTunables {Show 39 fields
pub ack_nack_flush_profile: AckNackFlushProfile,
pub congestion_profile: CongestionProfile,
pub ack_flush_interval: Duration,
pub nack_flush_interval: Duration,
pub ack_max_ranges_per_datagram: usize,
pub nack_max_ranges_per_datagram: usize,
pub ack_nack_priority: AckNackPriority,
pub ack_queue_capacity: usize,
pub backpressure_mode: BackpressureMode,
pub reliable_window: usize,
pub split_ttl: Duration,
pub max_split_parts: u32,
pub max_concurrent_splits: usize,
pub max_ordering_channels: usize,
pub max_ordered_pending_per_channel: usize,
pub max_order_gap: u32,
pub resend_rto: Duration,
pub min_resend_rto: Duration,
pub max_resend_rto: Duration,
pub initial_congestion_window: f64,
pub min_congestion_window: f64,
pub max_congestion_window: f64,
pub congestion_slow_start_threshold: f64,
pub congestion_additive_gain: f64,
pub congestion_multiplicative_decrease_nack: f64,
pub congestion_multiplicative_decrease_timeout: f64,
pub congestion_high_rtt_threshold_ms: f64,
pub congestion_high_rtt_additive_scale: f64,
pub congestion_nack_backoff_cooldown: Duration,
pub pacing_enabled: bool,
pub pacing_start_full: bool,
pub pacing_gain: f64,
pub pacing_min_rate_bytes_per_sec: f64,
pub pacing_max_rate_bytes_per_sec: f64,
pub pacing_max_burst_bytes: usize,
pub outgoing_queue_max_frames: usize,
pub outgoing_queue_max_bytes: usize,
pub outgoing_queue_soft_ratio: f64,
pub best_effort_zeroize_dropped_payloads: bool,
}Fields§
§ack_nack_flush_profile: AckNackFlushProfile§congestion_profile: CongestionProfile§ack_flush_interval: Duration§nack_flush_interval: Duration§ack_max_ranges_per_datagram: usize§nack_max_ranges_per_datagram: usize§ack_nack_priority: AckNackPriority§ack_queue_capacity: usize§backpressure_mode: BackpressureMode§reliable_window: usize§split_ttl: Duration§max_split_parts: u32§max_concurrent_splits: usize§max_ordering_channels: usize§max_ordered_pending_per_channel: usize§max_order_gap: u32§resend_rto: Duration§min_resend_rto: Duration§max_resend_rto: Duration§initial_congestion_window: f64§min_congestion_window: f64§max_congestion_window: f64§congestion_slow_start_threshold: f64§congestion_additive_gain: f64§congestion_multiplicative_decrease_nack: f64§congestion_multiplicative_decrease_timeout: f64§congestion_high_rtt_threshold_ms: f64§congestion_high_rtt_additive_scale: f64§congestion_nack_backoff_cooldown: Duration§pacing_enabled: bool§pacing_start_full: bool§pacing_gain: f64§pacing_min_rate_bytes_per_sec: f64§pacing_max_rate_bytes_per_sec: f64§pacing_max_burst_bytes: usize§outgoing_queue_max_frames: usize§outgoing_queue_max_bytes: usize§outgoing_queue_soft_ratio: f64§best_effort_zeroize_dropped_payloads: boolBest-effort zeroize for payload buffers that are dropped or abandoned before successful delivery. This may add CPU cost under heavy shedding.
Implementations§
Source§impl SessionTunables
impl SessionTunables
pub fn resolved_ack_nack_flush_settings(&self) -> AckNackFlushSettings
pub fn resolved_congestion_settings(&self) -> CongestionSettings
pub fn validate(&self) -> Result<(), ConfigValidationError>
Trait Implementations§
Source§impl Clone for SessionTunables
impl Clone for SessionTunables
Source§fn clone(&self) -> SessionTunables
fn clone(&self) -> SessionTunables
Returns a duplicate 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 Debug for SessionTunables
impl Debug for SessionTunables
Auto Trait Implementations§
impl Freeze for SessionTunables
impl RefUnwindSafe for SessionTunables
impl Send for SessionTunables
impl Sync for SessionTunables
impl Unpin for SessionTunables
impl UnsafeUnpin for SessionTunables
impl UnwindSafe for SessionTunables
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