[][src]Enum winping::IpPair

pub enum IpPair {
    V4 {
        src: Ipv4Addr,
        dst: Ipv4Addr,
    },
    V6 {
        src: Ipv6Addr,
        dst: Ipv6Addr,
    },
}

A pair of IP (v4 or v6) addresses, source and destination.

Variants

V4

Fields of V4

src: Ipv4Addrdst: Ipv4Addr
V6

Fields of V6

src: Ipv6Addrdst: Ipv6Addr

Trait Implementations

impl Clone for IpPair[src]

impl Copy for IpPair[src]

impl Debug for IpPair[src]

impl Eq for IpPair[src]

impl Hash for IpPair[src]

impl PartialEq<IpPair> for IpPair[src]

impl StructuralEq for IpPair[src]

impl StructuralPartialEq for IpPair[src]

Auto Trait Implementations

impl RefUnwindSafe for IpPair

impl Send for IpPair

impl Sync for IpPair

impl Unpin for IpPair

impl UnwindSafe for IpPair

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.