pub struct NlriEntry {
pub path_id: u32,
pub prefix: Prefix,
}Expand description
A generic NLRI entry (IPv4 or IPv6) with an optional Add-Path path ID.
For non-Add-Path peers, path_id is always 0.
Fields§
§path_id: u32Add-Path path identifier (0 when Add-Path is not in use).
prefix: PrefixThe prefix (IPv4 or IPv6).
Trait Implementations§
impl Copy for NlriEntry
impl Eq for NlriEntry
impl StructuralPartialEq for NlriEntry
Auto Trait Implementations§
impl Freeze for NlriEntry
impl RefUnwindSafe for NlriEntry
impl Send for NlriEntry
impl Sync for NlriEntry
impl Unpin for NlriEntry
impl UnsafeUnpin for NlriEntry
impl UnwindSafe for NlriEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more