#[repr(C)]pub struct ngx_resolver_connection_t {
pub udp: *mut ngx_connection_s,
pub tcp: *mut ngx_connection_s,
pub sockaddr: *mut sockaddr,
pub socklen: u32,
pub server: ngx_str_t,
pub log: ngx_log_s,
pub read_buf: *mut ngx_buf_s,
pub write_buf: *mut ngx_buf_s,
pub resolver: *mut ngx_resolver_s,
}
Fields§
§udp: *mut ngx_connection_s
§tcp: *mut ngx_connection_s
§sockaddr: *mut sockaddr
§socklen: u32
§server: ngx_str_t
§log: ngx_log_s
§read_buf: *mut ngx_buf_s
§write_buf: *mut ngx_buf_s
§resolver: *mut ngx_resolver_s
Trait Implementations§
Source§impl Clone for ngx_resolver_connection_t
impl Clone for ngx_resolver_connection_t
Source§fn clone(&self) -> ngx_resolver_connection_t
fn clone(&self) -> ngx_resolver_connection_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_resolver_connection_t
impl Debug for ngx_resolver_connection_t
impl Copy for ngx_resolver_connection_t
Auto Trait Implementations§
impl Freeze for ngx_resolver_connection_t
impl RefUnwindSafe for ngx_resolver_connection_t
impl !Send for ngx_resolver_connection_t
impl !Sync for ngx_resolver_connection_t
impl Unpin for ngx_resolver_connection_t
impl UnwindSafe for ngx_resolver_connection_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more