[][src]Struct nginx::ngx_http_upstream_rr_peer_s

#[repr(C)]pub struct ngx_http_upstream_rr_peer_s {
    pub sockaddr: *mut sockaddr,
    pub socklen: socklen_t,
    pub name: ngx_str_t,
    pub server: ngx_str_t,
    pub current_weight: ngx_int_t,
    pub effective_weight: ngx_int_t,
    pub weight: ngx_int_t,
    pub conns: ngx_uint_t,
    pub max_conns: ngx_uint_t,
    pub fails: ngx_uint_t,
    pub accessed: time_t,
    pub checked: time_t,
    pub max_fails: ngx_uint_t,
    pub fail_timeout: time_t,
    pub slow_start: ngx_msec_t,
    pub start_time: ngx_msec_t,
    pub down: ngx_uint_t,
    pub ssl_session: *mut c_void,
    pub ssl_session_len: c_int,
    pub lock: ngx_atomic_t,
    pub next: *mut ngx_http_upstream_rr_peer_t,
    pub spare: [u64; 32],
}

Fields

sockaddr: *mut sockaddrsocklen: socklen_tname: ngx_str_tserver: ngx_str_tcurrent_weight: ngx_int_teffective_weight: ngx_int_tweight: ngx_int_tconns: ngx_uint_tmax_conns: ngx_uint_tfails: ngx_uint_taccessed: time_tchecked: time_tmax_fails: ngx_uint_tfail_timeout: time_tslow_start: ngx_msec_tstart_time: ngx_msec_tdown: ngx_uint_tssl_session: *mut c_voidssl_session_len: c_intlock: ngx_atomic_tnext: *mut ngx_http_upstream_rr_peer_tspare: [u64; 32]

Trait Implementations

impl Clone for ngx_http_upstream_rr_peer_s[src]

impl Copy for ngx_http_upstream_rr_peer_s[src]

impl Debug for ngx_http_upstream_rr_peer_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_upstream_rr_peer_s

impl !Send for ngx_http_upstream_rr_peer_s

impl !Sync for ngx_http_upstream_rr_peer_s

impl Unpin for ngx_http_upstream_rr_peer_s

impl UnwindSafe for ngx_http_upstream_rr_peer_s

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.