[−][src]Struct nginx::ngx_connection_s
Fields
data: *mut c_void
read: *mut ngx_event_t
write: *mut ngx_event_t
fd: ngx_socket_t
recv: ngx_recv_pt
send: ngx_send_pt
recv_chain: ngx_recv_chain_pt
send_chain: ngx_send_chain_pt
listening: *mut ngx_listening_t
sent: off_t
log: *mut ngx_log_t
pool: *mut ngx_pool_t
type_: c_int
sockaddr: *mut sockaddr
socklen: socklen_t
addr_text: ngx_str_t
proxy_protocol: *mut ngx_proxy_protocol_t
ssl: *mut ngx_ssl_connection_t
udp: *mut ngx_udp_connection_t
local_sockaddr: *mut sockaddr
local_socklen: socklen_t
buffer: *mut ngx_buf_t
queue: ngx_queue_t
number: ngx_atomic_uint_t
requests: ngx_uint_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>
sendfile_task: *mut ngx_thread_task_t
Implementations
impl ngx_connection_s
[src]
pub fn buffered(&self) -> c_uint
[src]
pub fn set_buffered(&mut self, val: c_uint)
[src]
pub fn log_error(&self) -> c_uint
[src]
pub fn set_log_error(&mut self, val: c_uint)
[src]
pub fn timedout(&self) -> c_uint
[src]
pub fn set_timedout(&mut self, val: c_uint)
[src]
pub fn error(&self) -> c_uint
[src]
pub fn set_error(&mut self, val: c_uint)
[src]
pub fn destroyed(&self) -> c_uint
[src]
pub fn set_destroyed(&mut self, val: c_uint)
[src]
pub fn idle(&self) -> c_uint
[src]
pub fn set_idle(&mut self, val: c_uint)
[src]
pub fn reusable(&self) -> c_uint
[src]
pub fn set_reusable(&mut self, val: c_uint)
[src]
pub fn close(&self) -> c_uint
[src]
pub fn set_close(&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 sendfile(&self) -> c_uint
[src]
pub fn set_sendfile(&mut self, val: c_uint)
[src]
pub fn sndlowat(&self) -> c_uint
[src]
pub fn set_sndlowat(&mut self, val: c_uint)
[src]
pub fn tcp_nodelay(&self) -> c_uint
[src]
pub fn set_tcp_nodelay(&mut self, val: c_uint)
[src]
pub fn tcp_nopush(&self) -> c_uint
[src]
pub fn set_tcp_nopush(&mut self, val: c_uint)
[src]
pub fn need_last_buf(&self) -> c_uint
[src]
pub fn set_need_last_buf(&mut self, val: c_uint)
[src]
pub fn busy_count(&self) -> c_uint
[src]
pub fn set_busy_count(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
buffered: c_uint,
log_error: c_uint,
timedout: c_uint,
error: c_uint,
destroyed: c_uint,
idle: c_uint,
reusable: c_uint,
close: c_uint,
shared: c_uint,
sendfile: c_uint,
sndlowat: c_uint,
tcp_nodelay: c_uint,
tcp_nopush: c_uint,
need_last_buf: c_uint,
busy_count: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u8>
[src]
buffered: c_uint,
log_error: c_uint,
timedout: c_uint,
error: c_uint,
destroyed: c_uint,
idle: c_uint,
reusable: c_uint,
close: c_uint,
shared: c_uint,
sendfile: c_uint,
sndlowat: c_uint,
tcp_nodelay: c_uint,
tcp_nopush: c_uint,
need_last_buf: c_uint,
busy_count: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u8>
Trait Implementations
impl Clone for ngx_connection_s
[src]
fn clone(&self) -> ngx_connection_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_connection_s
[src]
impl Debug for ngx_connection_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_connection_s
impl !Send for ngx_connection_s
impl !Sync for ngx_connection_s
impl Unpin for ngx_connection_s
impl UnwindSafe for ngx_connection_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>,