pub struct NeighborEntry {
pub node_name: Name,
pub radio_faces: Vec<(FaceId, MacAddr, String)>,
pub last_seen: u64,
}Expand description
A discovered neighbor and its per-radio face bindings.
Fields§
§node_name: NameNDN node name of the neighbor.
radio_faces: Vec<(FaceId, MacAddr, String)>Per-radio face bindings: each entry is (FaceId, MAC, interface).
last_seen: u64Timestamp of last successful hello (ns since Unix epoch).
Trait Implementations§
Source§impl Clone for NeighborEntry
impl Clone for NeighborEntry
Source§fn clone(&self) -> NeighborEntry
fn clone(&self) -> NeighborEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for NeighborEntry
impl RefUnwindSafe for NeighborEntry
impl Send for NeighborEntry
impl Sync for NeighborEntry
impl Unpin for NeighborEntry
impl UnwindSafe for NeighborEntry
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