[−][src]Struct nginx::ngx_url_t
Fields
url: ngx_str_t
host: ngx_str_t
port_text: ngx_str_t
uri: ngx_str_t
port: in_port_t
default_port: in_port_t
last_port: in_port_t
family: c_int
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
socklen: socklen_t
sockaddr: ngx_sockaddr_t
addrs: *mut ngx_addr_t
naddrs: ngx_uint_t
err: *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]
listen: c_uint,
uri_part: c_uint,
no_resolve: c_uint,
no_port: c_uint,
wildcard: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
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]
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>,