pub trait NetworkObservations {
// Required method
fn update(&self, peer: &PeerId, result: Result<Duration, ()>);
}Expand description
Trait representing a reporter of network immediate peer testing observations.
pub trait NetworkObservations {
// Required method
fn update(&self, peer: &PeerId, result: Result<Duration, ()>);
}Trait representing a reporter of network immediate peer testing observations.