pub struct TransmitBufferConfig {
pub max_packets: usize,
pub initial_cwnd: usize,
pub min_rto_ms: u64,
pub max_rto_ms: u64,
pub initial_rto_ms: u64,
pub congestion_control_enabled: bool,
pub max_burst: usize,
pub prioritize_packets: bool,
pub max_packet_age_ms: u64,
pub clock_rate: u32,
}Expand description
Transmit buffer configuration
Fields§
§max_packets: usizeMaximum packets to buffer for transmission
initial_cwnd: usizeInitial congestion window size (packets)
min_rto_ms: u64Minimum retransmission timeout (ms)
max_rto_ms: u64Maximum retransmission timeout (ms)
initial_rto_ms: u64Initial retransmission timeout (ms)
congestion_control_enabled: boolWhether to enable congestion control
max_burst: usizeMaximum burst size (packets)
prioritize_packets: boolWhether to prioritize packets
max_packet_age_ms: u64Maximum packet age before dropping (ms)
clock_rate: u32Clock rate for timestamp calculations
Trait Implementations§
Source§impl Clone for TransmitBufferConfig
impl Clone for TransmitBufferConfig
Source§fn clone(&self) -> TransmitBufferConfig
fn clone(&self) -> TransmitBufferConfig
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 TransmitBufferConfig
impl Debug for TransmitBufferConfig
Auto Trait Implementations§
impl Freeze for TransmitBufferConfig
impl RefUnwindSafe for TransmitBufferConfig
impl Send for TransmitBufferConfig
impl Sync for TransmitBufferConfig
impl Unpin for TransmitBufferConfig
impl UnwindSafe for TransmitBufferConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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