[][src]Struct nginx::ngx_url_t

#[repr(C)]pub struct ngx_url_t {
    pub url: ngx_str_t,
    pub host: ngx_str_t,
    pub port_text: ngx_str_t,
    pub uri: ngx_str_t,
    pub port: in_port_t,
    pub default_port: in_port_t,
    pub last_port: in_port_t,
    pub family: c_int,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub socklen: socklen_t,
    pub sockaddr: ngx_sockaddr_t,
    pub addrs: *mut ngx_addr_t,
    pub naddrs: ngx_uint_t,
    pub err: *mut c_char,
}

Fields

url: ngx_str_thost: ngx_str_tport_text: ngx_str_turi: ngx_str_tport: in_port_tdefault_port: in_port_tlast_port: in_port_tfamily: c_int_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>socklen: socklen_tsockaddr: ngx_sockaddr_taddrs: *mut ngx_addr_tnaddrs: ngx_uint_terr: *mut c_char

Implementations

impl ngx_url_t[src]

pub fn listen(&self) -> c_uint[src]

pub fn set_listen(&mut self, val: c_uint)[src]

pub fn uri_part(&self) -> c_uint[src]

pub fn set_uri_part(&mut self, val: c_uint)[src]

pub fn no_resolve(&self) -> c_uint[src]

pub fn set_no_resolve(&mut self, val: c_uint)[src]

pub fn no_port(&self) -> c_uint[src]

pub fn set_no_port(&mut self, val: c_uint)[src]

pub fn wildcard(&self) -> c_uint[src]

pub fn set_wildcard(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    listen: c_uint,
    uri_part: c_uint,
    no_resolve: c_uint,
    no_port: c_uint,
    wildcard: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_url_t[src]

impl Copy for ngx_url_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_url_t

impl !Send for ngx_url_t

impl !Sync for ngx_url_t

impl Unpin for ngx_url_t

impl UnwindSafe for ngx_url_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.