pub struct SpfEntry {
pub router_id: u32,
pub cost: u32,
pub next_hop: u32,
}Expand description
SPF result entry
Fields§
§router_id: u32Destination router ID
cost: u32Total cost
next_hop: u32Next hop router ID (0 = directly connected)
Trait Implementations§
impl Eq for SpfEntry
impl StructuralPartialEq for SpfEntry
Auto Trait Implementations§
impl Freeze for SpfEntry
impl RefUnwindSafe for SpfEntry
impl Send for SpfEntry
impl Sync for SpfEntry
impl Unpin for SpfEntry
impl UnwindSafe for SpfEntry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)