add back Proxy::Clone

This commit is contained in:
Johann Tuffe
2017-12-29 10:24:11 +08:00
parent 4101c78a1f
commit fa0debd128

View File

@@ -35,7 +35,7 @@ use hyper_proxy::Proxy as HyperProxy;
/// check each `Proxy` in the order it was added. This could mean that a
/// `Proxy` added first with eager intercept rules, such as `Proxy::all`,
/// would prevent a `Proxy` later in the list from ever working, so take care.
#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct Proxy {
pub(crate) inner: HyperProxy,
}