struct Config {
connect_timeout: Option<Duration>,
enforce_http: bool,
happy_eyeballs_timeout: Option<Duration>,
keep_alive_timeout: Option<Duration>,
local_address_ipv4: Option<Ipv4Addr>,
local_address_ipv6: Option<Ipv6Addr>,
nodelay: bool,
reuse_address: bool,
send_buffer_size: Option<usize>,
recv_buffer_size: Option<usize>,
}
Fields§
§connect_timeout: Option<Duration>
§enforce_http: bool
§happy_eyeballs_timeout: Option<Duration>
§keep_alive_timeout: Option<Duration>
§local_address_ipv4: Option<Ipv4Addr>
§local_address_ipv6: Option<Ipv6Addr>
§nodelay: bool
§reuse_address: bool
§send_buffer_size: Option<usize>
§recv_buffer_size: Option<usize>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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