Enum netlink_packet_sock_diag::inet::Timer
source · pub enum Timer {
Retransmit(Duration, u8),
KeepAlive(Duration),
TimeWait,
Probe(Duration),
}
Expand description
The type of timer that is currently active for a TCP socket.
Variants§
Retransmit(Duration, u8)
A retransmit timer
KeepAlive(Duration)
A keep-alive timer
TimeWait
A TIME_WAIT
timer
Probe(Duration)
A zero window probe timer
Trait Implementations§
source§impl PartialEq for Timer
impl PartialEq for Timer
impl Eq for Timer
impl StructuralPartialEq for Timer
Auto Trait Implementations§
impl Freeze for Timer
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
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