[][src]Struct nginx::ngx_resolver_srv_name_t

#[repr(C)]pub struct ngx_resolver_srv_name_t {
    pub name: ngx_str_t,
    pub priority: u_short,
    pub weight: u_short,
    pub port: u_short,
    pub ctx: *mut ngx_resolver_ctx_t,
    pub state: ngx_int_t,
    pub naddrs: ngx_uint_t,
    pub addrs: *mut ngx_addr_t,
}

Fields

name: ngx_str_tpriority: u_shortweight: u_shortport: u_shortctx: *mut ngx_resolver_ctx_tstate: ngx_int_tnaddrs: ngx_uint_taddrs: *mut ngx_addr_t

Trait Implementations

impl Clone for ngx_resolver_srv_name_t[src]

impl Copy for ngx_resolver_srv_name_t[src]

impl Debug for ngx_resolver_srv_name_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_resolver_srv_name_t

impl !Send for ngx_resolver_srv_name_t

impl !Sync for ngx_resolver_srv_name_t

impl Unpin for ngx_resolver_srv_name_t

impl UnwindSafe for ngx_resolver_srv_name_t

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.