pub(super) trait AsyncAcceptor: Send + Sync {
// Required methods
fn accept_and_handle<'life0, 'life1, 'async_trait>(
&'life0 self,
server: &'life1 Arc<Server>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn local_endpoint(&self) -> Result<Endpoint>;
}Expand description
Produces framed connections and hands them off to the server.