From 8a965abeb34ddb1464edab5566c5219a41e56a97 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 1 Sep 2025 20:02:50 +0800 Subject: connector: use static dispatch for connector type --- src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/connector.rs') 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 Channel { } } -trait Connection { +pub(crate) trait Connection { type Err: std::fmt::Display; type Success: std::fmt::Display = String; -- cgit v1.2.3