1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 16:52:58 +01:00

remove constraint

This commit is contained in:
Nikolay Kim 2018-10-03 10:34:14 -07:00
parent 20b03a4780
commit 2600179169

View File

@ -18,7 +18,7 @@ pub struct OpensslAcceptor<T> {
io: PhantomData<T>,
}
impl<T: AsyncRead + AsyncWrite> OpensslAcceptor<T> {
impl<T> OpensslAcceptor<T> {
/// Create default `OpensslAcceptor`
pub fn new(acceptor: SslAcceptor) -> Self {
OpensslAcceptor {