1 2 3 4 5 6 7 8 9
#[derive(Default, Debug, Clone)] pub struct HttpServerConf { /// TCP_NODELAY pub no_delay: Option<bool>, pub thread_name: Option<String>, /// Ignored on Windows pub reuse_port: Option<bool>, pub backlog: Option<i32>, }
1 2 3 4 5 6 7 8 9
#[derive(Default, Debug, Clone)] pub struct HttpServerConf { /// TCP_NODELAY pub no_delay: Option<bool>, pub thread_name: Option<String>, /// Ignored on Windows pub reuse_port: Option<bool>, pub backlog: Option<i32>, }