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 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 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<TcpRtoAlgorithm, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<TcpRtoAlgorithm, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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