[−][src]Struct nginx::ngx_resolver_ctx_s
Fields
next: *mut ngx_resolver_ctx_t
resolver: *mut ngx_resolver_t
node: *mut ngx_resolver_node_t
ident: ngx_int_t
state: ngx_int_t
name: ngx_str_t
service: ngx_str_t
valid: time_t
naddrs: ngx_uint_t
addrs: *mut ngx_resolver_addr_t
addr: ngx_resolver_addr_t
sin: sockaddr_in
count: ngx_uint_t
nsrvs: ngx_uint_t
srvs: *mut ngx_resolver_srv_name_t
handler: ngx_resolver_handler_pt
data: *mut c_void
timeout: ngx_msec_t
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
recursion: ngx_uint_t
event: *mut ngx_event_t
Implementations
impl ngx_resolver_ctx_s
[src]
pub fn quick(&self) -> c_uint
[src]
pub fn set_quick(&mut self, val: c_uint)
[src]
pub fn async_(&self) -> c_uint
[src]
pub fn set_async(&mut self, val: c_uint)
[src]
pub fn cancelable(&self) -> c_uint
[src]
pub fn set_cancelable(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
quick: c_uint,
async_: c_uint,
cancelable: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
quick: c_uint,
async_: c_uint,
cancelable: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for ngx_resolver_ctx_s
[src]
fn clone(&self) -> ngx_resolver_ctx_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_resolver_ctx_s
[src]
impl Debug for ngx_resolver_ctx_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_resolver_ctx_s
impl !Send for ngx_resolver_ctx_s
impl !Sync for ngx_resolver_ctx_s
impl Unpin for ngx_resolver_ctx_s
impl UnwindSafe for ngx_resolver_ctx_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>,