Struct reachability_core::NeighborCache
source · 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 RefUnwindSafe for NeighborCache
impl Send for NeighborCache
impl Sync for NeighborCache
impl Unpin for NeighborCache
impl UnwindSafe for NeighborCache
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.