pub struct TcpConfig { /* private fields */ }Implementations§
Source§impl TcpConfig
impl TcpConfig
pub fn new(config: &Config) -> Result<Self, Fail>
pub fn get_advertised_mss(&self) -> usize
pub fn get_handshake_retries(&self) -> usize
pub fn get_handshake_timeout(&self) -> Duration
pub fn get_receive_window_size(&self) -> u16
pub fn get_window_scale(&self) -> u8
pub fn get_ack_delay_timeout(&self) -> Duration
pub fn get_tx_checksum_offload(&self) -> bool
pub fn get_rx_checksum_offload(&self) -> bool
Trait Implementations§
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)