pub fn bind_openssl<A>(mut self, addr: A, builder: SslAcceptorBuilder) -> io::Result<Self>
    where
        A: net::ToSocketAddrs,
    {
        let sockets = self.bind2(addr)?;
        let acceptor = openssl_acceptor(builder)?;

        for lst in sockets {
            self = self.listen_ssl_inner(lst, acceptor.clone())?;
        }

        Ok(self)
    }
/// Start listening for incoming tls connections.
///
/// This method sets alpn protocols to "h2" and "http/1.1"
Start listening for incoming tls connections.
This method sets alpn protocols to "h2" and "http/1.1"
Start listening for incoming tls connections . This method sets alpn protocols to " h2 " and " http / 1 . 1 "
pub fn bind_openssl<A>(mut self, addr: A, builder: SslAcceptorBuilder) -> io::Result<Self>
    where
        A: net::ToSocketAddrs,
    {
        let sockets = self.bind2(addr)?;
        let acceptor = openssl_acceptor(builder)?;
        for lst in sockets {
            self = self.listen_ssl_inner(lst, acceptor.clone())?;
        }
        Ok(self)
    }
pub fn bind_openssl < A > ( mut self , addr : A , builder : SslAcceptorBuilder ) -> io :: Result < Self > where A : net :: ToSocketAddrs , { let sockets = self . bind2 ( addr ) ? ; let acceptor = openssl_acceptor ( builder ) ? ; for lst in sockets { self = self . listen_ssl_inner ( lst , acceptor . clone ( ) ) ? ; } Ok ( self ) }
Start listening for incoming tls connections.
Start listening for incoming tls connections .
mut self
addr
A
builder
SslAcceptorBuilder
mut self
addr
A
builder
SslAcceptorBuilder