[−][src]Struct nginx::ngx_http_upstream_server_t
Fields
name: ngx_str_t
addrs: *mut ngx_addr_t
naddrs: ngx_uint_t
weight: ngx_uint_t
max_conns: ngx_uint_t
max_fails: ngx_uint_t
fail_timeout: time_t
slow_start: ngx_msec_t
down: ngx_uint_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
spare: [u64; 6]
Implementations
impl ngx_http_upstream_server_t
[src]
pub fn backup(&self) -> c_uint
[src]
pub fn set_backup(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(backup: c_uint) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
Trait Implementations
impl Clone for ngx_http_upstream_server_t
[src]
fn clone(&self) -> ngx_http_upstream_server_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_http_upstream_server_t
[src]
impl Debug for ngx_http_upstream_server_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_http_upstream_server_t
impl !Send for ngx_http_upstream_server_t
impl !Sync for ngx_http_upstream_server_t
impl Unpin for ngx_http_upstream_server_t
impl UnwindSafe for ngx_http_upstream_server_t
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>,