Struct trillium_tokio::ClientConfig [−][src]
pub struct ClientConfig { pub nodelay: Option<bool>, pub ttl: Option<u32>, pub linger: Option<Duration>, }
Expand description
configuration for the tcp Connector
Fields
nodelay: Option<bool>
disable nagle’s algorithm
see TcpStream::set_nodelay
for more info
ttl: Option<u32>
time to live for the tcp protocol. set TcpStream::set_ttl
for more info
linger: Option<Duration>
sets SO_LINGER. I don’t really understand this, but see
TcpStream::set_linger
for more info
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V