[][src]Enum mrt::BgpAttributeValue

pub enum BgpAttributeValue {
    ORIGIN {
        value: Origin,
    },
    AS_PATH {
        segments: Vec<AsPathSegment>,
    },
    NEXT_HOP {
        ipaddress: IpAddr,
    },
    MULTI_EXIT_DISC {
        value: u32,
    },
    LOCAL_PREF {
        value: u32,
    },
    ATOMIC_AGGREGATE,
    AGGREGATOR,
    COMMUNITY {
        communities: Vec<Community>,
    },
    NOT_IMPLEMENTED {
        code: u8,
    },
}

Variants

ORIGIN

Fields of ORIGIN

value: Origin
AS_PATH

Fields of AS_PATH

segments: Vec<AsPathSegment>
NEXT_HOP

Fields of NEXT_HOP

ipaddress: IpAddr
MULTI_EXIT_DISC

Fields of MULTI_EXIT_DISC

value: u32
LOCAL_PREF

Fields of LOCAL_PREF

value: u32
ATOMIC_AGGREGATE
AGGREGATOR
COMMUNITY

Fields of COMMUNITY

communities: Vec<Community>
NOT_IMPLEMENTED

Fields of NOT_IMPLEMENTED

code: u8

Trait Implementations

impl Debug for BgpAttributeValue[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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