pub trait Listener {
type Stream: ByteStream;
// Required method
fn poll_accept(
&self,
cx: &mut Context<'_>,
) -> Poll<Result<(Self::Stream, SocketAddr)>>;
}
pub trait Listener {
type Stream: ByteStream;
// Required method
fn poll_accept(
&self,
cx: &mut Context<'_>,
) -> Poll<Result<(Self::Stream, SocketAddr)>>;
}