mirror of https://github.com/fafhrd91/actix-net
impl default for connector service
This commit is contained in:
parent
c8c7358a08
commit
2e48bedd0d
|
@ -10,7 +10,8 @@
|
||||||
* Implement `Error` for `accept::TlsError` where both types also implement `Error`. [#422]
|
* Implement `Error` for `accept::TlsError` where both types also implement `Error`. [#422]
|
||||||
* Implement `Default` for `connect::Resolver`. [#422]
|
* Implement `Default` for `connect::Resolver`. [#422]
|
||||||
* Implement `Error` for `connect::ConnectError`. [#422]
|
* Implement `Error` for `connect::ConnectError`. [#422]
|
||||||
* Implement `Default` for `tcp::{TcpConnector, TcpConnectorService}`. [#423]
|
* Implement `Default` for `connect::tcp::{TcpConnector, TcpConnectorService}`. [#423]
|
||||||
|
* Implement `Default` for `connect::ConnectorService`. [#423]
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* The crate's default features flags no longer include `uri`. [#422]
|
* The crate's default features flags no longer include `uri`. [#422]
|
||||||
|
|
|
@ -57,7 +57,7 @@ impl<R: Host> ServiceFactory<ConnectInfo<R>> for Connector {
|
||||||
///
|
///
|
||||||
/// Service implementation receives connection information, resolves DNS if required, and returns
|
/// Service implementation receives connection information, resolves DNS if required, and returns
|
||||||
/// a TCP stream.
|
/// a TCP stream.
|
||||||
#[derive(Clone)]
|
#[derive(Clone, Default)]
|
||||||
pub struct ConnectorService {
|
pub struct ConnectorService {
|
||||||
tcp: TcpConnectorService,
|
tcp: TcpConnectorService,
|
||||||
resolver: ResolverService,
|
resolver: ResolverService,
|
||||||
|
|
Loading…
Reference in New Issue