Enum if_watch::IfEvent[][src]

pub enum IfEvent {
    Up(IpNet),
    Down(IpNet),
}

An address change event.

Variants

Up(IpNet)

A new local address has been added.

Down(IpNet)

A local address has been deleted.

Trait Implementations

impl Clone for IfEvent[src]

impl Copy for IfEvent[src]

impl Debug for IfEvent[src]

impl Eq for IfEvent[src]

impl Hash for IfEvent[src]

impl Ord for IfEvent[src]

impl PartialEq<IfEvent> for IfEvent[src]

impl PartialOrd<IfEvent> for IfEvent[src]

impl StructuralEq for IfEvent[src]

impl StructuralPartialEq for IfEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for IfEvent

impl Send for IfEvent

impl Sync for IfEvent

impl Unpin for IfEvent

impl UnwindSafe for IfEvent

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.