pub trait Listener {
    type Stream: ByteStream;

    fn poll_accept(
        &self,
        cx: &mut Context<'_>
    ) -> Poll<Result<(Self::Stream, SocketAddr)>>; }

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§