[−][src]Struct nginx::ngx_http_upstream_rr_peers_s
Fields
number: ngx_uint_t
shpool: *mut ngx_slab_pool_t
rwlock: ngx_atomic_t
zone_next: *mut ngx_http_upstream_rr_peers_t
total_weight: ngx_uint_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
name: *mut ngx_str_t
next: *mut ngx_http_upstream_rr_peers_t
peer: *mut ngx_http_upstream_rr_peer_t
Implementations
impl ngx_http_upstream_rr_peers_s
[src]
pub fn single(&self) -> c_uint
[src]
pub fn set_single(&mut self, val: c_uint)
[src]
pub fn weighted(&self) -> c_uint
[src]
pub fn set_weighted(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
single: c_uint,
weighted: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
single: c_uint,
weighted: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ngx_http_upstream_rr_peers_s
[src]
fn clone(&self) -> ngx_http_upstream_rr_peers_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_http_upstream_rr_peers_s
[src]
impl Debug for ngx_http_upstream_rr_peers_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_http_upstream_rr_peers_s
impl !Send for ngx_http_upstream_rr_peers_s
impl !Sync for ngx_http_upstream_rr_peers_s
impl Unpin for ngx_http_upstream_rr_peers_s
impl UnwindSafe for ngx_http_upstream_rr_peers_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>,