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]
impl Listen
Trait Implementations
impl Debug for Listen
[src]
impl Debug for Listen
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Listen
[src]
impl Clone for Listen
fn clone(&self) -> Listen
[src]
fn clone(&self) -> Listen
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Listen
[src]
impl PartialEq for Listen
fn eq(&self, other: &Listen) -> bool
[src]
fn eq(&self, other: &Listen) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Listen) -> bool
[src]
fn ne(&self, other: &Listen) -> bool
This method tests for !=
.
impl Eq for Listen
[src]
impl Eq for Listen
impl Display for Listen
[src]
impl Display for Listen