[−][src]Struct nginx::ngx_connection_s
Fields
data: *mut c_voidread: *mut ngx_event_twrite: *mut ngx_event_tfd: ngx_socket_trecv: ngx_recv_ptsend: ngx_send_ptrecv_chain: ngx_recv_chain_ptsend_chain: ngx_send_chain_ptlistening: *mut ngx_listening_tsent: off_tlog: *mut ngx_log_tpool: *mut ngx_pool_ttype_: c_intsockaddr: *mut sockaddrsocklen: socklen_taddr_text: ngx_str_tproxy_protocol: *mut ngx_proxy_protocol_tssl: *mut ngx_ssl_connection_tudp: *mut ngx_udp_connection_tlocal_sockaddr: *mut sockaddrlocal_socklen: socklen_tbuffer: *mut ngx_buf_tqueue: ngx_queue_tnumber: ngx_atomic_uint_trequests: ngx_uint_t_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u8>sendfile_task: *mut ngx_thread_task_tImplementations
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>,