pub struct TcpConfig {
pub retransmission_timeout: Duration,
pub time_wait_timeout: Duration,
pub mss: Option<u16>,
pub rcv_wnd: u16,
pub window_shift_cnt: u8,
pub quick_end: bool,
}
Fields§
§retransmission_timeout: Duration
§time_wait_timeout: Duration
§mss: Option<u16>
§rcv_wnd: u16
§window_shift_cnt: u8
§quick_end: bool
Implementations§
Trait Implementations§
impl Copy for TcpConfig
Auto Trait Implementations§
impl Freeze for TcpConfig
impl RefUnwindSafe for TcpConfig
impl Send for TcpConfig
impl Sync for TcpConfig
impl Unpin for TcpConfig
impl UnwindSafe for TcpConfig
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