#[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: u32send_buffer_size: u32max_syn_back_log: u32connection_timeout: u32data_retries: u32fin_timeout: u32time_wait_timeout: u32keep_alive_probes: u32keep_alive_time: u32keep_alive_interval: u32enable_nagle: Booleanenable_time_stamp: Booleanenable_window_scaling: Booleanenable_selective_ack: Booleanenable_path_mtu_discovery: BooleanTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Option
impl Send for Option
impl Sync for Option
impl Unpin for Option
impl UnwindSafe for Option
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more