Module ppp::model[][src]

Expand description

Types representing both text and binary versions of HAProxy’s proxy protocol header.

Structs

A parsed proxy protocol header.

A Type-Length-Value object.

Enums

An reference to a destination; either remote or local. Unix addresses must be 108 bytes. A none address means no address was found, this is done to avoid unwrapping an optional and then an address.

The type of connection received by the server from the proxy.

The network protocol used by the client.

The version of the proxy protocol header.

Type Definitions

A Result type alias. The Ok variant is a tuple of the remaining part of the input (not consumed in parsing the header). The Err variant denotes whether the parser does contains a valid header, or if more bytes are necesssary to parse a header or determine if the input is invalid.