[][src]Struct bgpdump::records::tabledump::RIB_AFI_ADDPATH

pub struct RIB_AFI_ADDPATH {
    pub sequence_number: u32,
    pub prefix_length: u8,
    pub prefix: Vec<u8>,
    pub entries: Vec<RIBEntryAddPath>,
}

Represents a collection of routes for a specific IP prefix.

Fields

sequence_number: u32

A sequence number that identifies the route collection. Wraps back to zero on overflow.

prefix_length: u8

The prefix length of the prefix.

prefix: Vec<u8>

The prefix in bytes rounded up to the nearest byte.

entries: Vec<RIBEntryAddPath>

A collection of routes to this prefix. Might contain multiple paths from a single peer.

Trait Implementations

impl Debug for RIB_AFI_ADDPATH[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, 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.