[−][src]Struct nginx::ngx_peer_connection_s
Fields
connection: *mut ngx_connection_t
sockaddr: *mut sockaddr
socklen: socklen_t
name: *mut ngx_str_t
tries: ngx_uint_t
start_time: ngx_msec_t
get: ngx_event_get_peer_pt
free: ngx_event_free_peer_pt
notify: ngx_event_notify_peer_pt
data: *mut c_void
set_session: ngx_event_set_peer_session_pt
save_session: ngx_event_save_peer_session_pt
local: *mut ngx_addr_t
type_: c_int
rcvbuf: c_int
log: *mut ngx_log_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
spare: [u64; 2]
Implementations
impl ngx_peer_connection_s
[src]
pub fn cached(&self) -> c_uint
[src]
pub fn set_cached(&mut self, val: c_uint)
[src]
pub fn transparent(&self) -> c_uint
[src]
pub fn set_transparent(&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 down(&self) -> c_uint
[src]
pub fn set_down(&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 new_bitfield_1(
cached: c_uint,
transparent: c_uint,
so_keepalive: c_uint,
down: c_uint,
log_error: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
cached: c_uint,
transparent: c_uint,
so_keepalive: c_uint,
down: c_uint,
log_error: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ngx_peer_connection_s
[src]
fn clone(&self) -> ngx_peer_connection_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_peer_connection_s
[src]
impl Debug for ngx_peer_connection_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_peer_connection_s
impl !Send for ngx_peer_connection_s
impl !Sync for ngx_peer_connection_s
impl Unpin for ngx_peer_connection_s
impl UnwindSafe for ngx_peer_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>,