#[repr(C)]pub struct ngx_proxy_protocol_s {
pub src_addr: ngx_str_t,
pub dst_addr: ngx_str_t,
pub src_port: u16,
pub dst_port: u16,
pub tlvs: ngx_str_t,
}
Fields§
§src_addr: ngx_str_t
§dst_addr: ngx_str_t
§src_port: u16
§dst_port: u16
§tlvs: ngx_str_t
Trait Implementations§
Source§impl Clone for ngx_proxy_protocol_s
impl Clone for ngx_proxy_protocol_s
Source§fn clone(&self) -> ngx_proxy_protocol_s
fn clone(&self) -> ngx_proxy_protocol_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_proxy_protocol_s
impl Debug for ngx_proxy_protocol_s
impl Copy for ngx_proxy_protocol_s
Auto Trait Implementations§
impl Freeze for ngx_proxy_protocol_s
impl RefUnwindSafe for ngx_proxy_protocol_s
impl !Send for ngx_proxy_protocol_s
impl !Sync for ngx_proxy_protocol_s
impl Unpin for ngx_proxy_protocol_s
impl UnwindSafe for ngx_proxy_protocol_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