pub type Endpoint = (Arc<dyn EndpointAdapt>, Box<dyn ConRecvAdapt<Item = Pin<Box<dyn Future<Output = Result<(Arc<dyn ConAdapt>, Box<dyn InChanRecvAdapt<Item = Pin<Box<dyn Future<Output = Result<Box<dyn AsFramedReader>, KitsuneError>> + Send>>>>), KitsuneError>> + Send>>>>);
Expand description

A tx backend Endpoint is both the ability to make outgoing connections, but also to receive incoming connections.