#[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: Boolean

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.