pub trait NetworkConnector: Send + Sync + 'static {
    fn connect(
        &self,
        uri: Uri
    ) -> Pin<Box<dyn Future<Output = Result<NetworkConnection, Box<dyn StdError + Send + Sync>>> + Send>>; }
Expand description

Network connector trait with type erasure

Required methods

Implementors