pub fn accept<'a, S: AsyncSocket>(
        &'a self,
        socket: S,
    ) -> BoxFuture<'a, anyhow::Result<TlsStream>> {
        self.0.accept(AsyncSocketBox::new(socket))
    }
/// Accept a connection.
///
/// This operation returns a future which is resolved when the negotiation is complete,
/// and the stream is ready to send and receive.
Accept a connection.
This operation returns a future which is resolved when the negotiation is complete,
and the stream is ready to send and receive.
Accept a connection . This operation returns a future which is resolved when the negotiation is complete and the stream is ready to send and receive .
pub fn accept<'a, S: AsyncSocket>(
        &'a self,
        socket: S,
    ) -> BoxFuture<'a, anyhow::Result<TlsStream>> {
        self.0.accept(AsyncSocketBox::new(socket))
    }
pub fn accept < ' a , S : AsyncSocket > ( & ' a self , socket : S , ) -> BoxFuture < ' a , anyhow :: Result < TlsStream > > { self . 0 . accept ( AsyncSocketBox :: new ( socket ) ) }
Accept a connection.
Accept a connection .
&'a self
socket
S
&'a self
socket
S