pub struct TimerConfig {
pub max_t1_init_retrans: usize,
pub max_t1_cookie_retrans: usize,
pub max_t2_shutdown_retrans: usize,
pub max_t3_rtx_retrans: usize,
pub max_reconfig_retrans: usize,
pub max_ack_retrans: usize,
}Expand description
Retransmission limits for the association’s timers.
Each field caps how many times the corresponding timer may fire before the association is
abandoned. Default follows the RFC 4960 recommendations.
Fields§
§max_t1_init_retrans: usizeHow many times INIT may be retransmitted (T1-init) before the association fails.
How many times COOKIE-ECHO may be retransmitted (T1-cookie).
max_t2_shutdown_retrans: usizeHow many times SHUTDOWN may be retransmitted (T2-shutdown).
max_t3_rtx_retrans: usizeHow many times a DATA chunk may be retransmitted on T3-rtx expiry.
Defaults to unlimited, leaving reliability to the per-stream partial-reliability settings.
max_reconfig_retrans: usizeHow many times a RE-CONFIG chunk (stream reset) may be retransmitted.
max_ack_retrans: usizeHow many times a delayed SACK may be retransmitted.
Trait Implementations§
Source§impl Clone for TimerConfig
impl Clone for TimerConfig
Source§fn clone(&self) -> TimerConfig
fn clone(&self) -> TimerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerConfig
Source§impl Debug for TimerConfig
impl Debug for TimerConfig
Auto Trait Implementations§
impl Freeze for TimerConfig
impl RefUnwindSafe for TimerConfig
impl Send for TimerConfig
impl Sync for TimerConfig
impl Unpin for TimerConfig
impl UnsafeUnpin for TimerConfig
impl UnwindSafe for TimerConfig
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