From 579be7517a34e57063b506328b1e5411640c77b9 Mon Sep 17 00:00:00 2001 From: Jun Kurihara Date: Thu, 25 Sep 2025 17:27:20 +0900 Subject: [PATCH] chore: refactor --- rpxy-lib/src/forwarder/client.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rpxy-lib/src/forwarder/client.rs b/rpxy-lib/src/forwarder/client.rs index 0e3c6cb..329e033 100644 --- a/rpxy-lib/src/forwarder/client.rs +++ b/rpxy-lib/src/forwarder/client.rs @@ -38,7 +38,7 @@ where C: Send + Sync + Connect + Clone + 'static, B1: Body + Send + Sync + Unpin + 'static, ::Data: Send, - ::Error: Into>, + ::Error: Into>, { type Error = RpxyError; @@ -100,7 +100,7 @@ where C: Send + Sync + Connect + Clone + 'static, B1: Body + Send + Unpin + 'static, ::Data: Send, - ::Error: Into>, + ::Error: Into>, { async fn request_directly(&self, req: Request) -> RpxyResult> { // TODO: This 'match' condition is always evaluated at every 'request' invocation. So, it is inefficient. @@ -119,7 +119,7 @@ impl Forwarder where B: Body + Send + Unpin + 'static, ::Data: Send, - ::Error: Into>, + ::Error: Into>, { /// Build inner client with http pub async fn try_new(_globals: &Arc) -> RpxyResult { @@ -154,7 +154,7 @@ impl Forwarder, B1> where B1: Body + Send + Unpin + 'static, ::Data: Send, - ::Error: Into>, + ::Error: Into>, { /// Build forwarder pub async fn try_new(_globals: &Arc) -> RpxyResult { @@ -199,7 +199,7 @@ impl Forwarder, B1> where B1: Body + Send + Unpin + 'static, ::Data: Send, - ::Error: Into>, + ::Error: Into>, { /// Build forwarder pub async fn try_new(_globals: &Arc) -> RpxyResult {