Trait virtual_net::VirtualTcpListenerExt
source · pub trait VirtualTcpListenerExt: VirtualTcpListener {
// Required method
fn accept<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(Box<dyn VirtualTcpSocket + Sync>, SocketAddr)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}