1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 16:16:40 +00:00

add Clone impl for DefaultConnector

This commit is contained in:
Nikolay Kim 2018-09-10 11:16:58 -07:00
parent fbfca66e21
commit a1e875e985

View file

@ -150,6 +150,7 @@ impl<T: HostAware> Future for ConnectorFuture<T> {
} }
} }
#[derive(Clone)]
pub struct DefaultConnector<T: HostAware>(Connector<T>); pub struct DefaultConnector<T: HostAware>(Connector<T>);
impl<T: HostAware> Default for DefaultConnector<T> { impl<T: HostAware> Default for DefaultConnector<T> {