From dbbf9c3cca28ff8d77c67fb9382ceee49834e5d8 Mon Sep 17 00:00:00 2001 From: Stefan Sundin Date: Sun, 19 May 2024 11:17:16 -0700 Subject: [PATCH] Add `#[derive(Debug, Clone)]` to ReverseProxy. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 2859769..3fbb3cc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -380,6 +380,7 @@ pub async fn call<'a, T: Connect + Clone + Send + Sync + 'static>( Ok(downstream_response.map(|body| body.map_err(std::io::Error::other).boxed_unsync())) } +#[derive(Debug, Clone)] pub struct ReverseProxy { client: Client, }