1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
use ::tokio::io::AsyncRead;
use ::tokio::io::AsyncWrite;

pub trait HttpIo: 'static + Send + Sync + AsyncRead + AsyncWrite + Unpin {}

impl<IO> HttpIo for IO
where
    IO: 'static,
    IO: Send + Sync,
    IO: AsyncRead,
    IO: AsyncWrite,
    IO: Unpin,
{
}