Enum oping::AddrFamily [] [src]

pub enum AddrFamily {
    IPV4,
    IPV6,
}

Address family (IPv4 or IPv6) used to send/receive a ping.

Variants

IPV4
IPV6

Trait Implementations

impl Default for AddrFamily

fn default() -> AddrFamily

Derived Implementations

impl Eq for AddrFamily

impl PartialEq for AddrFamily

fn eq(&self, __arg_0: &AddrFamily) -> bool

fn ne(&self, other: &Rhs) -> bool1.0.0

impl Debug for AddrFamily

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for AddrFamily

fn clone(&self) -> AddrFamily

fn clone_from(&mut self, source: &Self)1.0.0

impl Copy for AddrFamily