#[repr(C)]pub struct Option {Show 15 fields
pub receive_buffer_size: u32,
pub send_buffer_size: u32,
pub max_syn_back_log: u32,
pub connection_timeout: u32,
pub data_retries: u32,
pub fin_timeout: u32,
pub time_wait_timeout: u32,
pub keep_alive_probes: u32,
pub keep_alive_time: u32,
pub keep_alive_interval: u32,
pub enable_nagle: Boolean,
pub enable_time_stamp: Boolean,
pub enable_window_scaling: Boolean,
pub enable_selective_ack: Boolean,
pub enable_path_mtu_discovery: Boolean,
}
Fields§
§receive_buffer_size: u32
§send_buffer_size: u32
§max_syn_back_log: u32
§connection_timeout: u32
§data_retries: u32
§fin_timeout: u32
§time_wait_timeout: u32
§keep_alive_probes: u32
§keep_alive_time: u32
§keep_alive_interval: u32
§enable_nagle: Boolean
§enable_time_stamp: Boolean
§enable_window_scaling: Boolean
§enable_selective_ack: Boolean
§enable_path_mtu_discovery: Boolean
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Option
impl RefUnwindSafe for Option
impl Send for Option
impl Sync for Option
impl Unpin for Option
impl UnwindSafe for Option
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