[][src]Enum mrt_rs::records::bgp4mp::BGP4MP

pub enum BGP4MP {
    STATE_CHANGE(STATE_CHANGE),
    MESSAGE(MESSAGE),
    ENTRY(ENTRY),
    SNAPSHOT(SNAPSHOT),
    MESSAGE_AS4(MESSAGE_AS4),
    STATE_CHANGE_AS4(STATE_CHANGE_AS4),
    MESSAGE_LOCAL(MESSAGE),
    MESSAGE_AS4_LOCAL(MESSAGE_AS4),
    MESSAGE_ADDPATH(MESSAGE),
    MESSAGE_AS4_ADDPATH(MESSAGE_AS4),
    MESSAGE_LOCAL_ADDPATH(MESSAGE),
    MESSAGE_AS4_LOCAL_ADDPATH(MESSAGE_AS4),
}

The BGP4MP enum represents all possible subtypes of the BGP4MP record type.

Variants

STATE_CHANGE(STATE_CHANGE)

Represents a state change of the BGP collector using 16 bit ASN.

MESSAGE(MESSAGE)

Represents UPDATE, OPEN, NOTIFICATION and KEEPALIVE messages supporting 16 bit ASN.

ENTRY(ENTRY)

Used to encode BGP RIB entries in older MRT files but is now superseded by TABLE_DUMP_V2.

SNAPSHOT(SNAPSHOT)

Represents a state change of the BGP collector using 32 bit ASN.

MESSAGE_AS4(MESSAGE_AS4)

Represents UPDATE, OPEN, NOTIFICATION and KEEPALIVE messages supporting 32 bit ASN.

STATE_CHANGE_AS4(STATE_CHANGE_AS4)

Represents a state change of the BGP collector using 32 bit ASN.

MESSAGE_LOCAL(MESSAGE)

A locally generated UPDATE, OPEN, NOTIFICATION and KEEPALIVE messages supporting 16 bit ASN.

MESSAGE_AS4_LOCAL(MESSAGE_AS4)

A locally generated UPDATE, OPEN, NOTIFICATION and KEEPALIVE messages supporting 32 bit ASN.

MESSAGE_ADDPATH(MESSAGE)

Added by (RFC8050)[https://tools.ietf.org/html/rfc8050] to enable advertisement of multiple paths as defined in (RFC7911)[https://tools.ietf.org/html/rfc7911]. This type signifies that 16-bit ASN are used and that the message is not locally generated.

MESSAGE_AS4_ADDPATH(MESSAGE_AS4)

Added by (RFC8050)[https://tools.ietf.org/html/rfc8050] to enable advertisement of multiple paths as defined in (RFC7911)[https://tools.ietf.org/html/rfc7911]. This type signifies that 32bit ASN are used and that the message is not locally generated.

MESSAGE_LOCAL_ADDPATH(MESSAGE)

Added by (RFC8050)[https://tools.ietf.org/html/rfc8050] to enable advertisement of multiple paths as defined in (RFC7911)[https://tools.ietf.org/html/rfc7911]. This type signifies that 16-bit ASN are used and that the message is locally generated.

MESSAGE_AS4_LOCAL_ADDPATH(MESSAGE_AS4)

Added by (RFC8050)[https://tools.ietf.org/html/rfc8050] to enable advertisement of multiple paths as defined in (RFC7911)[https://tools.ietf.org/html/rfc7911]. This type signifies that 32-bit ASN are used and that the message is locally generated.

Trait Implementations

impl Debug for BGP4MP[src]

Auto Trait Implementations

impl RefUnwindSafe for BGP4MP

impl Send for BGP4MP

impl Sync for BGP4MP

impl Unpin for BGP4MP

impl UnwindSafe for BGP4MP

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, 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.