pub struct EdgeInfo {
pub from: u64,
pub to: u64,
pub latency_us: u32,
pub last_updated: Instant,
}Expand description
Information about an edge (connection) between nodes.
Fields§
§from: u64Source node ID
to: u64Destination node ID
latency_us: u32Estimated latency in microseconds
last_updated: InstantLast update timestamp
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeInfo
impl RefUnwindSafe for EdgeInfo
impl Send for EdgeInfo
impl Sync for EdgeInfo
impl Unpin for EdgeInfo
impl UnsafeUnpin for EdgeInfo
impl UnwindSafe for EdgeInfo
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