pub struct FibEntry {
pub nexthops: Vec<FibNexthop>,
}Expand description
FIB entry: one or more nexthops with associated costs.
Fields§
§nexthops: Vec<FibNexthop>Implementations§
Source§impl FibEntry
impl FibEntry
Sourcepub fn nexthops_excluding(&self, exclude: FaceId) -> Vec<FibNexthop>
pub fn nexthops_excluding(&self, exclude: FaceId) -> Vec<FibNexthop>
Return nexthops filtered to exclude a specific face (split-horizon).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FibEntry
impl RefUnwindSafe for FibEntry
impl Send for FibEntry
impl Sync for FibEntry
impl Unpin for FibEntry
impl UnwindSafe for FibEntry
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