[−][src]Struct nginx::ngx_listening_s
Fields
fd: ngx_socket_t
sockaddr: *mut sockaddr
socklen: socklen_t
addr_text_max_len: size_t
addr_text: ngx_str_t
type_: c_int
backlog: c_int
rcvbuf: c_int
sndbuf: c_int
keepidle: c_int
keepintvl: c_int
keepcnt: c_int
handler: ngx_connection_handler_pt
servers: *mut c_void
log: ngx_log_t
logp: *mut ngx_log_t
pool_size: size_t
post_accept_buffer_size: size_t
post_accept_timeout: ngx_msec_t
previous: *mut ngx_listening_t
connection: *mut ngx_connection_t
rbtree: ngx_rbtree_t
sentinel: ngx_rbtree_node_t
worker: ngx_uint_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 3], u8>
fastopen: c_int
Implementations
impl ngx_listening_s
[src]
pub fn open(&self) -> c_uint
[src]
pub fn set_open(&mut self, val: c_uint)
[src]
pub fn remain(&self) -> c_uint
[src]
pub fn set_remain(&mut self, val: c_uint)
[src]
pub fn ignore(&self) -> c_uint
[src]
pub fn set_ignore(&mut self, val: c_uint)
[src]
pub fn bound(&self) -> c_uint
[src]
pub fn set_bound(&mut self, val: c_uint)
[src]
pub fn inherited(&self) -> c_uint
[src]
pub fn set_inherited(&mut self, val: c_uint)
[src]
pub fn nonblocking_accept(&self) -> c_uint
[src]
pub fn set_nonblocking_accept(&mut self, val: c_uint)
[src]
pub fn listen(&self) -> c_uint
[src]
pub fn set_listen(&mut self, val: c_uint)
[src]
pub fn nonblocking(&self) -> c_uint
[src]
pub fn set_nonblocking(&mut self, val: c_uint)
[src]
pub fn shared(&self) -> c_uint
[src]
pub fn set_shared(&mut self, val: c_uint)
[src]
pub fn addr_ntop(&self) -> c_uint
[src]
pub fn set_addr_ntop(&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 ipv6only(&self) -> c_uint
[src]
pub fn set_ipv6only(&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 add_reuseport(&self) -> c_uint
[src]
pub fn set_add_reuseport(&mut self, val: c_uint)
[src]
pub fn keepalive(&self) -> c_uint
[src]
pub fn set_keepalive(&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 delete_deferred(&self) -> c_uint
[src]
pub fn set_delete_deferred(&mut self, val: c_uint)
[src]
pub fn add_deferred(&self) -> c_uint
[src]
pub fn set_add_deferred(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
open: c_uint,
remain: c_uint,
ignore: c_uint,
bound: c_uint,
inherited: c_uint,
nonblocking_accept: c_uint,
listen: c_uint,
nonblocking: c_uint,
shared: c_uint,
addr_ntop: c_uint,
wildcard: c_uint,
ipv6only: c_uint,
reuseport: c_uint,
add_reuseport: c_uint,
keepalive: c_uint,
deferred_accept: c_uint,
delete_deferred: c_uint,
add_deferred: c_uint
) -> __BindgenBitfieldUnit<[u8; 3], u8>
[src]
open: c_uint,
remain: c_uint,
ignore: c_uint,
bound: c_uint,
inherited: c_uint,
nonblocking_accept: c_uint,
listen: c_uint,
nonblocking: c_uint,
shared: c_uint,
addr_ntop: c_uint,
wildcard: c_uint,
ipv6only: c_uint,
reuseport: c_uint,
add_reuseport: c_uint,
keepalive: c_uint,
deferred_accept: c_uint,
delete_deferred: c_uint,
add_deferred: c_uint
) -> __BindgenBitfieldUnit<[u8; 3], u8>
Trait Implementations
impl Clone for ngx_listening_s
[src]
fn clone(&self) -> ngx_listening_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_listening_s
[src]
impl Debug for ngx_listening_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_listening_s
impl !Send for ngx_listening_s
impl !Sync for ngx_listening_s
impl Unpin for ngx_listening_s
impl UnwindSafe for ngx_listening_s
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>,