[][src]Struct nginx::ngx_proxy_protocol_s

#[repr(C)]pub struct ngx_proxy_protocol_s {
    pub src_addr: ngx_str_t,
    pub dst_addr: ngx_str_t,
    pub src_port: in_port_t,
    pub dst_port: in_port_t,
}

Fields

src_addr: ngx_str_tdst_addr: ngx_str_tsrc_port: in_port_tdst_port: in_port_t

Trait Implementations

impl Clone for ngx_proxy_protocol_s[src]

impl Copy for ngx_proxy_protocol_s[src]

impl Debug for ngx_proxy_protocol_s[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.