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

openssl new service is not failable

This commit is contained in:
Nikolay Kim 2018-09-08 12:52:43 -07:00
parent bf10f6dfcf
commit c2eff62efb

View file

@ -43,7 +43,7 @@ impl<T: AsyncRead + AsyncWrite> NewService for OpensslAcceptor<T> {
type Response = SslStream<T>;
type Error = Error;
type Service = OpensslAcceptorService<T>;
type InitError = io::Error;
type InitError = ();
type Future = FutureResult<Self::Service, io::Error>;
fn new_service(&self) -> Self::Future {