[−][src]Struct mrt_rs::TABLE_DUMP
Represents a RIB entry of a Routing Information Base.
Fields
view_number: u16
Identifies the RIB view. Normally set to 0.
sequence_number: u16
Sequence number for the RIB entry in the RIB. Will wrap to back to 0.
prefix: IpAddr
The IP address of this RIB entry.
prefix_length: u8
The prefix length of this RIB entry.
status: u8
Unused and should be set to 1.
originated_time: u32
Contains the 4-octet time at which this prefix was heard since 1 January 1970 00:00:00 UTC.
peer_address: IpAddr
IP address of the peer that provided the update for this RIB entry.
peer_as: u16
ASN of the peer that provided the update for this RIB entry.
attributes: Vec<u8>
The path attributes associated with this route.
Methods
impl TABLE_DUMP
[src]
Trait Implementations
Auto Trait Implementations
impl Send for TABLE_DUMP
impl Sync for TABLE_DUMP
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,