Enum sozu_lib::network::protocol::proxy_protocol::header::ProxyAddr[][src]

pub enum ProxyAddr {
    Ipv4Addr {
        src_addr: SocketAddrV4,
        dst_addr: SocketAddrV4,
    },
    Ipv6Addr {
        src_addr: SocketAddrV6,
        dst_addr: SocketAddrV6,
    },
    UnixAddr {
        src_addr: [u8; 108],
        dst_addr: [u8; 108],
    },
    AfUnspec,
}

Variants

Fields of Ipv4Addr

Fields of Ipv6Addr

Fields of UnixAddr

Methods

impl ProxyAddr
[src]

Trait Implementations

impl Debug for ProxyAddr
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ProxyAddr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ProxyAddr

impl Sync for ProxyAddr