pub trait AsEpFactory: 'static + Send + Sync + Unpin {
    // Required method
    fn bind(
        &self,
        bind_spec: TxUrl,
        timeout: KitsuneTimeout
    ) -> BoxFuture<'static, KitsuneResult<Ep>>;
}
Expand description

Trait representing an endpoint factory (binder).

Required Methods§

source

fn bind( &self, bind_spec: TxUrl, timeout: KitsuneTimeout ) -> BoxFuture<'static, KitsuneResult<Ep>>

Bind a new local transport endpoint.

Implementors§