pub struct RtoConfig {
pub initial: Duration,
pub min: Duration,
pub max: Duration,
}Expand description
RTO.Initial, RTO.Min and RTO.Max (RFC 9260 section 16), the bounds of the retransmission
timeout. Default is the RFC’s recommended values: 1, 1 and 60 seconds.
Fields§
§initial: DurationRTO.Initial: the RTO before a round trip was measured (and after a reset).
min: DurationRTO.Min: the smallest RTO a measurement gives.
max: DurationRTO.Max: the largest RTO, measured or backed off.
Trait Implementations§
impl Copy for RtoConfig
impl Eq for RtoConfig
impl StructuralPartialEq for RtoConfig
Auto Trait Implementations§
impl Forget for RtoConfig
impl Freeze for RtoConfig
impl Move for RtoConfig
impl RefUnwindSafe for RtoConfig
impl Send for RtoConfig
impl Sync for RtoConfig
impl Unpin for RtoConfig
impl UnsafeUnpin for RtoConfig
impl UnwindSafe for RtoConfig
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