#[repr(C)]pub struct ngx_http_upstream_rr_peer_s {Show 22 fields
pub sockaddr: *mut sockaddr,
pub socklen: u32,
pub name: ngx_str_t,
pub server: ngx_str_t,
pub current_weight: isize,
pub effective_weight: isize,
pub weight: isize,
pub conns: usize,
pub max_conns: usize,
pub fails: usize,
pub accessed: i64,
pub checked: i64,
pub max_fails: usize,
pub fail_timeout: i64,
pub slow_start: usize,
pub start_time: usize,
pub down: usize,
pub ssl_session: *mut c_void,
pub ssl_session_len: i32,
pub lock: u64,
pub next: *mut ngx_http_upstream_rr_peer_s,
pub spare: [u64; 32],
}
Fields§
§sockaddr: *mut sockaddr
§socklen: u32
§name: ngx_str_t
§server: ngx_str_t
§current_weight: isize
§effective_weight: isize
§weight: isize
§conns: usize
§max_conns: usize
§fails: usize
§accessed: i64
§checked: i64
§max_fails: usize
§fail_timeout: i64
§slow_start: usize
§start_time: usize
§down: usize
§ssl_session: *mut c_void
§ssl_session_len: i32
§lock: u64
§next: *mut ngx_http_upstream_rr_peer_s
§spare: [u64; 32]
Trait Implementations§
Source§impl Clone for ngx_http_upstream_rr_peer_s
impl Clone for ngx_http_upstream_rr_peer_s
Source§fn clone(&self) -> ngx_http_upstream_rr_peer_s
fn clone(&self) -> ngx_http_upstream_rr_peer_s
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_http_upstream_rr_peer_s
impl Debug for ngx_http_upstream_rr_peer_s
impl Copy for ngx_http_upstream_rr_peer_s
Auto Trait Implementations§
impl Freeze for ngx_http_upstream_rr_peer_s
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more