pub trait ListenerExt: Listener { // Required method fn accept<'a>(&'a self) -> Accept<'a, Self> where Self: Sized; }
Equivalent to async fn accept(&self) -> io::Result<(Self::Stream, SocketAddr)>
async fn accept(&self) -> io::Result<(Self::Stream, SocketAddr)>