[−][src]Struct nginx::ngx_http_listen_opt_t
Fields
sockaddr: *mut sockaddr
socklen: socklen_t
addr_text: ngx_str_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>
backlog: c_int
rcvbuf: c_int
sndbuf: c_int
fastopen: c_int
tcp_keepidle: c_int
tcp_keepintvl: c_int
tcp_keepcnt: c_int
Implementations
impl ngx_http_listen_opt_t
[src]
pub fn set(&self) -> c_uint
[src]
pub fn set_set(&mut self, val: c_uint)
[src]
pub fn default_server(&self) -> c_uint
[src]
pub fn set_default_server(&mut self, val: c_uint)
[src]
pub fn bind(&self) -> c_uint
[src]
pub fn set_bind(&mut self, val: c_uint)
[src]
pub fn wildcard(&self) -> c_uint
[src]
pub fn set_wildcard(&mut self, val: c_uint)
[src]
pub fn ssl(&self) -> c_uint
[src]
pub fn set_ssl(&mut self, val: c_uint)
[src]
pub fn http2(&self) -> c_uint
[src]
pub fn set_http2(&mut self, val: c_uint)
[src]
pub fn ipv6only(&self) -> c_uint
[src]
pub fn set_ipv6only(&mut self, val: c_uint)
[src]
pub fn deferred_accept(&self) -> c_uint
[src]
pub fn set_deferred_accept(&mut self, val: c_uint)
[src]
pub fn reuseport(&self) -> c_uint
[src]
pub fn set_reuseport(&mut self, val: c_uint)
[src]
pub fn so_keepalive(&self) -> c_uint
[src]
pub fn set_so_keepalive(&mut self, val: c_uint)
[src]
pub fn proxy_protocol(&self) -> c_uint
[src]
pub fn set_proxy_protocol(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
set: c_uint,
default_server: c_uint,
bind: c_uint,
wildcard: c_uint,
ssl: c_uint,
http2: c_uint,
ipv6only: c_uint,
deferred_accept: c_uint,
reuseport: c_uint,
so_keepalive: c_uint,
proxy_protocol: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]
set: c_uint,
default_server: c_uint,
bind: c_uint,
wildcard: c_uint,
ssl: c_uint,
http2: c_uint,
ipv6only: c_uint,
deferred_accept: c_uint,
reuseport: c_uint,
so_keepalive: c_uint,
proxy_protocol: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
impl Clone for ngx_http_listen_opt_t
[src]
fn clone(&self) -> ngx_http_listen_opt_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_http_listen_opt_t
[src]
impl Debug for ngx_http_listen_opt_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_http_listen_opt_t
impl !Send for ngx_http_listen_opt_t
impl !Sync for ngx_http_listen_opt_t
impl Unpin for ngx_http_listen_opt_t
impl UnwindSafe for ngx_http_listen_opt_t
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,