File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111pub trait MetricsCollector : Send + Sync {
1212 /// Records a completed request.
1313 ///
14- /// * `Success` — whether the request succeeded
15- /// * `LatencyMilliseconds` — round-trip latency in milliseconds
14+ /// * `Success` - whether the request succeeded
15+ /// * `LatencyMilliseconds` - round-trip latency in milliseconds
1616 fn RecordRequest ( & self , Success : bool , LatencyMilliseconds : f64 ) ;
1717}
Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ impl Default for TransportConstraints {
406406
407407/// Central registry for managing transport strategies.
408408pub struct TransportRegistry {
409- /// Registered transports (name -> Arc<dyn CommonTransportStrategy>)
409+ /// Registered transports (name -> Arc\ <dyn CommonTransportStrategy\ >)
410410 Transports : HashMap < String , Arc < dyn CommonTransportStrategy > > ,
411411 /// Currently active transport name
412412 Active : Option < String > ,
Original file line number Diff line number Diff line change 88//! ## Architecture
99//!
1010//! - [`TransportStrategy`] - Core trait all transports must implement
11- //! - [`TransportRegistry`] - Dynamic transport selection and management
11+ //! - [`Registry:: TransportRegistry`](crate::Transport::Registry::TransportRegistry) - Dynamic transport selection and management
1212//! - [`UnifiedRequest`] / [`UnifiedResponse`] - Common message format
1313//! - [`TransportError`] - Unified error taxonomy
1414//! - [`TransportConfig`] - Configuration structures
You can’t perform that action at this time.
0 commit comments