diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-01 20:02:50 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-01 20:02:50 +0800 |
| commit | 8a965abeb34ddb1464edab5566c5219a41e56a97 (patch) | |
| tree | e0750a4946b54a2d783d5c55ed4adc599ace9fd9 /src/client/connector.rs | |
| parent | 76a2350a9cf4f79c1f03bd9abffb8daaf47e834d (diff) | |
connector: use static dispatch for connector type
Diffstat (limited to 'src/client/connector.rs')
| -rw-r--r-- | src/client/connector.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/connector.rs b/src/client/connector.rs index e49d08e..82dc487 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -20,7 +20,7 @@ impl<C: Connection> Channel<C> { } } -trait Connection { +pub(crate) trait Connection { type Err: std::fmt::Display; type Success: std::fmt::Display = String; |
