diff --git a/src/connector.rs b/src/connector.rs index c9ecdde9..66fc065a 100644 --- a/src/connector.rs +++ b/src/connector.rs @@ -14,7 +14,7 @@ use super::resolver::{HostAware, Resolver, ResolverError, ResolverFuture}; use super::{NewService, Service}; // #[derive(Fail, Debug)] - +#[derive(Debug)] pub enum ConnectorError { /// Failed to resolve the hostname // #[fail(display = "Failed resolving hostname: {}", _0)] diff --git a/src/resolver.rs b/src/resolver.rs index ddd3c62e..0ad3c686 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -13,6 +13,7 @@ use trust_dns_resolver::{AsyncResolver, Background}; use super::Service; +#[derive(Debug)] pub enum ResolverError { Resolve(ResolveError), InvalidInput,