pub struct NeighborDiff {
pub entries: Vec<DiffEntry>,
}Expand description
SWIM gossip piggyback carried in hello Data Content.
Encodes recently discovered and departed neighbors so that other nodes on the link can update their neighbor tables without waiting for their own hellos to complete. Zero additional messages are required — the diff rides in spare capacity of existing hello traffic.
Fields§
§entries: Vec<DiffEntry>Trait Implementations§
Source§impl Clone for NeighborDiff
impl Clone for NeighborDiff
Source§fn clone(&self) -> NeighborDiff
fn clone(&self) -> NeighborDiff
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 moreSource§impl Debug for NeighborDiff
impl Debug for NeighborDiff
Source§impl Default for NeighborDiff
impl Default for NeighborDiff
Source§fn default() -> NeighborDiff
fn default() -> NeighborDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NeighborDiff
impl RefUnwindSafe for NeighborDiff
impl Send for NeighborDiff
impl Sync for NeighborDiff
impl Unpin for NeighborDiff
impl UnwindSafe for NeighborDiff
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