Struct nginx_config::ast::Listen
[−]
[src]
pub struct Listen {
pub address: Address,
pub default_server: bool,
pub ssl: bool,
pub ext: Option<HttpExt>,
pub proxy_protocol: bool,
pub setfib: Option<i32>,
pub fastopen: Option<u32>,
pub backlog: Option<i32>,
pub rcvbuf: Option<u64>,
pub sndbuf: Option<u64>,
pub deferred: bool,
pub bind: bool,
pub ipv6only: Option<bool>,
pub reuseport: bool,
}Fields
address: Address
default_server: bool
ssl: bool
ext: Option<HttpExt>
proxy_protocol: bool
setfib: Option<i32>
fastopen: Option<u32>
backlog: Option<i32>
rcvbuf: Option<u64>
sndbuf: Option<u64>
deferred: bool
bind: bool
ipv6only: Option<bool>
reuseport: bool
Methods
impl Listen[src]
Trait Implementations
impl Debug for Listen[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Clone for Listen[src]
fn clone(&self) -> Listen[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
impl PartialEq for Listen[src]
fn eq(&self, __arg_0: &Listen) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Listen) -> bool[src]
This method tests for !=.