Skip to content

Commit 3ebeae7

Browse files
save
Signed-off-by: Nikola Hristov <Nikola@PlayForm.Cloud>
1 parent cda6cec commit 3ebeae7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Source/Transport/Metrics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
pub 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
}

Source/Transport/Registry/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ impl Default for TransportConstraints {
406406

407407
/// Central registry for managing transport strategies.
408408
pub 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>,

Source/Transport/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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

0 commit comments

Comments
 (0)