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 {