diff --git a/src/service/from_err.rs b/src/service/from_err.rs index 613d6041b..ef5619dbe 100644 --- a/src/service/from_err.rs +++ b/src/service/from_err.rs @@ -20,6 +20,19 @@ impl> FromErr { } } +impl Clone for FromErr +where + A: Service + Clone, + E: From, +{ + fn clone(&self) -> Self { + FromErr { + service: self.service.clone(), + f: PhantomData, + } + } +} + impl Service for FromErr where A: Service,