[−][src]Struct nginx::ngx_peer_connection_s
Fields
connection: *mut ngx_connection_tsockaddr: *mut sockaddrsocklen: socklen_tname: *mut ngx_str_ttries: ngx_uint_tstart_time: ngx_msec_tget: ngx_event_get_peer_ptfree: ngx_event_free_peer_ptnotify: ngx_event_notify_peer_ptdata: *mut c_voidset_session: ngx_event_set_peer_session_ptsave_session: ngx_event_save_peer_session_ptlocal: *mut ngx_addr_ttype_: c_intrcvbuf: c_intlog: *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>,