pub struct NeighborTable<const N: usize> { /* private fields */ }Expand description
Fixed-size neighbor table
Implementations§
Source§impl<const N: usize> NeighborTable<N>
impl<const N: usize> NeighborTable<N>
Sourcepub fn best_neighbor(&self) -> Option<&Neighbor>
pub fn best_neighbor(&self) -> Option<&Neighbor>
Get best neighbor (highest link quality)
Sourcepub fn expire_old(&mut self)
pub fn expire_old(&mut self)
Expire old entries
Auto Trait Implementations§
impl<const N: usize> Freeze for NeighborTable<N>
impl<const N: usize> RefUnwindSafe for NeighborTable<N>
impl<const N: usize> Send for NeighborTable<N>
impl<const N: usize> Sync for NeighborTable<N>
impl<const N: usize> Unpin for NeighborTable<N>
impl<const N: usize> UnsafeUnpin for NeighborTable<N>
impl<const N: usize> UnwindSafe for NeighborTable<N>
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