mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 16:02:59 +01:00
fix ssl support
This commit is contained in:
parent
5003c00efb
commit
c0f8bc9e90
@ -272,12 +272,12 @@ mod connect_impl {
|
|||||||
Io1: AsyncRead + AsyncWrite + 'static,
|
Io1: AsyncRead + AsyncWrite + 'static,
|
||||||
Io2: AsyncRead + AsyncWrite + 'static,
|
Io2: AsyncRead + AsyncWrite + 'static,
|
||||||
T1: Service<
|
T1: Service<
|
||||||
Request = Connect,
|
Connect,
|
||||||
Response = (Connect, Io1),
|
Response = (Connect, Io1),
|
||||||
Error = ConnectorError,
|
Error = ConnectorError,
|
||||||
>,
|
>,
|
||||||
T2: Service<
|
T2: Service<
|
||||||
Request = Connect,
|
Connect,
|
||||||
Response = (Connect, Io2),
|
Response = (Connect, Io2),
|
||||||
Error = ConnectorError,
|
Error = ConnectorError,
|
||||||
>,
|
>,
|
||||||
@ -301,7 +301,7 @@ mod connect_impl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T1, T2, Io1, Io2> Service for InnerConnector<T1, T2, Io1, Io2>
|
impl<T1, T2, Io1, Io2> Service<Connect> for InnerConnector<T1, T2, Io1, Io2>
|
||||||
where
|
where
|
||||||
Io1: AsyncRead + AsyncWrite + 'static,
|
Io1: AsyncRead + AsyncWrite + 'static,
|
||||||
Io2: AsyncRead + AsyncWrite + 'static,
|
Io2: AsyncRead + AsyncWrite + 'static,
|
||||||
@ -344,7 +344,7 @@ mod connect_impl {
|
|||||||
Io1: AsyncRead + AsyncWrite + 'static,
|
Io1: AsyncRead + AsyncWrite + 'static,
|
||||||
T: Service<Connect, Response = (Connect, Io1), Error = ConnectorError>,
|
T: Service<Connect, Response = (Connect, Io1), Error = ConnectorError>,
|
||||||
{
|
{
|
||||||
fut: <ConnectionPool<T, Io1> as Service>::Future,
|
fut: <ConnectionPool<T, Io1> as Service<Connect>>::Future,
|
||||||
_t: PhantomData<Io2>,
|
_t: PhantomData<Io2>,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -370,7 +370,7 @@ mod connect_impl {
|
|||||||
Io2: AsyncRead + AsyncWrite + 'static,
|
Io2: AsyncRead + AsyncWrite + 'static,
|
||||||
T: Service<Connect, Response = (Connect, Io2), Error = ConnectorError>,
|
T: Service<Connect, Response = (Connect, Io2), Error = ConnectorError>,
|
||||||
{
|
{
|
||||||
fut: <ConnectionPool<T, Io2> as Service>::Future,
|
fut: <ConnectionPool<T, Io2> as Service<Connect>>::Future,
|
||||||
_t: PhantomData<Io1>,
|
_t: PhantomData<Io1>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user