Enum ppp::v2::AddressFamily [−][src]
pub enum AddressFamily {
Unspecified,
IPv4,
IPv6,
Unix,
}
Expand description
The supported AddressFamily
for a PROXY protocol header.
Variants
Unspecified
IPv4
IPv6
Unix
Implementations
The length in bytes for this AddressFamily
.
AddressFamily::Unspecified
does not require any bytes, and is represented as None
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for AddressFamily
impl Send for AddressFamily
impl Sync for AddressFamily
impl Unpin for AddressFamily
impl UnwindSafe for AddressFamily
Blanket Implementations
Mutably borrows from an owned value. Read more