#[repr(C)]pub struct ngx_http_addr_conf_s {
pub default_server: *mut ngx_http_core_srv_conf_t,
pub virtual_names: *mut ngx_http_virtual_names_t,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 7],
}
Fields§
§default_server: *mut ngx_http_core_srv_conf_t
§virtual_names: *mut ngx_http_virtual_names_t
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 7]
Implementations§
Source§impl ngx_http_addr_conf_s
impl ngx_http_addr_conf_s
pub fn ssl(&self) -> u32
pub fn set_ssl(&mut self, val: u32)
pub unsafe fn ssl_raw(this: *const ngx_http_addr_conf_s) -> u32
pub unsafe fn set_ssl_raw(this: *mut ngx_http_addr_conf_s, val: u32)
pub fn http2(&self) -> u32
pub fn set_http2(&mut self, val: u32)
pub unsafe fn http2_raw(this: *const ngx_http_addr_conf_s) -> u32
pub unsafe fn set_http2_raw(this: *mut ngx_http_addr_conf_s, val: u32)
pub fn quic(&self) -> u32
pub fn set_quic(&mut self, val: u32)
pub unsafe fn quic_raw(this: *const ngx_http_addr_conf_s) -> u32
pub unsafe fn set_quic_raw(this: *mut ngx_http_addr_conf_s, val: u32)
pub fn proxy_protocol(&self) -> u32
pub fn set_proxy_protocol(&mut self, val: u32)
pub unsafe fn proxy_protocol_raw(this: *const ngx_http_addr_conf_s) -> u32
pub unsafe fn set_proxy_protocol_raw(this: *mut ngx_http_addr_conf_s, val: u32)
pub fn new_bitfield_1( ssl: u32, http2: u32, quic: u32, proxy_protocol: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_addr_conf_s
impl Clone for ngx_http_addr_conf_s
Source§fn clone(&self) -> ngx_http_addr_conf_s
fn clone(&self) -> ngx_http_addr_conf_s
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_http_addr_conf_s
impl Debug for ngx_http_addr_conf_s
impl Copy for ngx_http_addr_conf_s
Auto Trait Implementations§
impl Freeze for ngx_http_addr_conf_s
impl RefUnwindSafe for ngx_http_addr_conf_s
impl !Send for ngx_http_addr_conf_s
impl !Sync for ngx_http_addr_conf_s
impl Unpin for ngx_http_addr_conf_s
impl UnwindSafe for ngx_http_addr_conf_s
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