Trait NetworkGraphUpdate
pub trait NetworkGraphUpdate {
// Required methods
fn record_edge<N, P>(&self, update: MeasurableEdge<N, P>)
where N: MeasurablePeer + Clone + Send + Sync + 'static,
P: MeasurablePath + Clone + Send + Sync + 'static;
fn record_node<N>(&self, update: N)
where N: MeasurableNode + Clone + Send + Sync + 'static;
}Expand description
A trait for recording observed measurment updates to graph edges and nodes.
Required Methods§
fn record_edge<N, P>(&self, update: MeasurableEdge<N, P>)where
N: MeasurablePeer + Clone + Send + Sync + 'static,
P: MeasurablePath + Clone + Send + Sync + 'static,
fn record_edge<N, P>(&self, update: MeasurableEdge<N, P>)where
N: MeasurablePeer + Clone + Send + Sync + 'static,
P: MeasurablePath + Clone + Send + Sync + 'static,
Records an edge measurement derived from network telemetry.
fn record_node<N>(&self, update: N)
fn record_node<N>(&self, update: N)
Records a node observation derived from network telemetry.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.