pub fn accept<'a>(&'a self, tcp_listener: &'a TcpListener) -> Completion<'a, TcpStream> {
        self.with_sqe(None, false, |sqe| {
            sqe.prep_rw(
                IORING_OP_ACCEPT,
                tcp_listener.as_raw_fd(),
                0,
                0,
                EventOrdering::None,
            )
        })
    }
/// Asynchronously accepts a `TcpStream` from
/// a provided `TcpListener`.
///
/// # Warning
///
/// This only becomes usable on linux kernels
/// 5.5 and up.
Asynchronously accepts a `TcpStream` from
a provided `TcpListener`.
Asynchronously accepts a ` TcpStream ` from a provided ` TcpListener ` .
pub fn accept<'a>(&'a self, tcp_listener: &'a TcpListener) -> Completion<'a, TcpStream> {
        self.with_sqe(None, false, |sqe| {
            sqe.prep_rw(
                IORING_OP_ACCEPT,
                tcp_listener.as_raw_fd(),
                0,
                0,
                EventOrdering::None,
            )
        })
    }
pub fn accept < ' a > ( & ' a self , tcp_listener : & ' a TcpListener ) -> Completion < ' a , TcpStream > { self . with_sqe ( None , false , | sqe | { sqe . prep_rw ( IORING_OP_ACCEPT , tcp_listener . as_raw_fd ( ) , 0 , 0 , EventOrdering :: None , ) } ) }
Asynchronously accepts a `TcpStream` from
a provided `TcpListener`.
Asynchronously accepts a ` TcpStream ` from a provided ` TcpListener ` .
&'a self
tcp_listener
&'a TcpListener
&'a self
tcp_listener
&'a TcpListener
warning
This only becomes usable on linux kernels
5.5 and up.
This only becomes usable on linux kernels 5 . 5 and up .