Enum sflow::IPAddress [] [src]

pub enum IPAddress {
    IPv4(Ipv4Addr),
    IPv6(Ipv6Addr),
}

Variants

Trait Implementations

impl Debug for IPAddress
[src]

Formats the value using the given formatter.

impl Clone for IPAddress
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IPAddress
[src]

impl Default for IPAddress
[src]

Returns the "default value" for a type. Read more

impl Decodeable for IPAddress
[src]

decode_ip_address will read from the stream and decode an IPAddress. Either an IPv4 or an IPv6 address. This also has a side effect of progressing the stream forward to the next data to be decoded.