[−][src]Struct mrt_rs::records::tabledump::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.
Implementations
impl TABLE_DUMP
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TABLE_DUMP
impl Send for TABLE_DUMP
impl Sync for TABLE_DUMP
impl Unpin for TABLE_DUMP
impl UnwindSafe for TABLE_DUMP
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,