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

pub struct RIB_AFI {
    pub sequence_number: u32,
    pub prefix_length: u8,
    pub prefix: Vec<u8>,
    pub entries: Vec<RIBEntry>,
}

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<RIBEntry>

A collection of routes to this prefix.

Trait Implementations

impl Debug for RIB_AFI[src]

Auto Trait Implementations

impl RefUnwindSafe for RIB_AFI

impl Send for RIB_AFI

impl Sync for RIB_AFI

impl Unpin for RIB_AFI

impl UnwindSafe for RIB_AFI

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.