Struct httpbis::server_conf::ServerConf
[−]
[src]
pub struct ServerConf { pub no_delay: Option<bool>, pub thread_name: Option<String>, pub alpn: Option<ServerAlpn>, pub only_v6: Option<bool>, pub reuse_port: Option<bool>, pub backlog: Option<i32>, pub common: CommonConf, }
Fields
no_delay: Option<bool>
TCP_NODELAY
thread_name: Option<String>
alpn: Option<ServerAlpn>
only_v6: Option<bool>
reuse_port: Option<bool>
Ignored on Windows
backlog: Option<i32>
common: CommonConf
Methods
impl ServerConf
[src]
pub fn new() -> ServerConf
[src]
Trait Implementations
impl Default for ServerConf
[src]
fn default() -> ServerConf
[src]
Returns the "default value" for a type. Read more
impl Debug for ServerConf
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ServerConf
[src]
fn clone(&self) -> ServerConf
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more