pub struct NeighborCache { /* private fields */ }
Expand description
Provides a cache of known neighbors and keeps track of their health.
Implementations§
Source§impl NeighborCache
impl NeighborCache
pub fn process_neighbor_event(&mut self, e: EntryIteratorItem)
pub fn get_interface_neighbors( &self, interface: u64, ) -> Option<&InterfaceNeighborCache>
Trait Implementations§
Source§impl Debug for NeighborCache
impl Debug for NeighborCache
Source§impl Default for NeighborCache
impl Default for NeighborCache
Source§fn default() -> NeighborCache
fn default() -> NeighborCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NeighborCache
impl RefUnwindSafe for NeighborCache
impl Send for NeighborCache
impl Sync for NeighborCache
impl Unpin for NeighborCache
impl UnwindSafe for NeighborCache
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