pub struct RoutingDiagnostics {
pub best_peer: Option<String>,
pub best_distance_raw: Option<f64>,
pub best_distance_normalized: Option<f64>,
pub threshold_raw: f64,
}Expand description
Routing-distance diagnostics for threshold tuning and observability.
Fields§
§best_peer: Option<String>Best candidate peer selected by raw distance ranking.
best_distance_raw: Option<f64>Best raw Section 3.2 distance.
best_distance_normalized: Option<f64>Best normalized distance, when computable.
threshold_raw: f64Active raw threshold.
Trait Implementations§
Source§impl Clone for RoutingDiagnostics
impl Clone for RoutingDiagnostics
Source§fn clone(&self) -> RoutingDiagnostics
fn clone(&self) -> RoutingDiagnostics
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 RoutingDiagnostics
impl RefUnwindSafe for RoutingDiagnostics
impl Send for RoutingDiagnostics
impl Sync for RoutingDiagnostics
impl Unpin for RoutingDiagnostics
impl UnsafeUnpin for RoutingDiagnostics
impl UnwindSafe for RoutingDiagnostics
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