[][src]Struct fup::aggregate::AggPrefix

pub struct AggPrefix {
    pub prefix: IpAddr,
    pub mask: u8,
    pub min: u8,
    pub max: u8,
    pub valid: bool,
}

Fields

prefix: IpAddrmask: u8min: u8max: u8valid: bool

Methods

impl AggPrefix[src]

pub fn from_prefix((ip, masklen): &Prefix) -> Self[src]

Trait Implementations

impl Clone for AggPrefix[src]

impl Debug for AggPrefix[src]

impl Eq for AggPrefix[src]

impl FromStr for AggPrefix[src]

type Err = Box<dyn Error>

The associated error which can be returned from parsing.

impl Hash for AggPrefix[src]

impl Ord for AggPrefix[src]

impl PartialEq<AggPrefix> for AggPrefix[src]

impl PartialOrd<AggPrefix> for AggPrefix[src]

impl StructuralEq for AggPrefix[src]

impl StructuralPartialEq for AggPrefix[src]

Auto Trait Implementations

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.