pub enum TcpRtoAlgorithm {
Other = 1,
Constant = 2,
Rsre = 3,
Vanj = 4,
}
Expand description
The algorithm used to determine the timeout value used for retransmitting unacknowledged octets.
Variants§
Other = 1
None of the following
Constant = 2
A constant rto
Rsre = 3
MIL-STD-1778, Appendix B
Vanj = 4
Van Jacobson’s algorithm
Reference: Jacobson, V., “Congestion Avoidance and Control”, SIGCOMM 1988, Stanford, California.
Implementations§
Trait Implementations§
source§impl Clone for TcpRtoAlgorithm
impl Clone for TcpRtoAlgorithm
source§fn clone(&self) -> TcpRtoAlgorithm
fn clone(&self) -> TcpRtoAlgorithm
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 Debug for TcpRtoAlgorithm
impl Debug for TcpRtoAlgorithm
source§impl<'de> Deserialize<'de> for TcpRtoAlgorithm
impl<'de> Deserialize<'de> for TcpRtoAlgorithm
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TcpRtoAlgorithm
impl PartialEq for TcpRtoAlgorithm
source§impl Serialize for TcpRtoAlgorithm
impl Serialize for TcpRtoAlgorithm
impl Eq for TcpRtoAlgorithm
impl StructuralPartialEq for TcpRtoAlgorithm
Auto Trait Implementations§
impl Freeze for TcpRtoAlgorithm
impl RefUnwindSafe for TcpRtoAlgorithm
impl Send for TcpRtoAlgorithm
impl Sync for TcpRtoAlgorithm
impl Unpin for TcpRtoAlgorithm
impl UnwindSafe for TcpRtoAlgorithm
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
)