pub trait BindAdapt: 'static + Send + Sync + Unpin {
    fn bind(
        &self,
        url: TxUrl,
        timeout: KitsuneTimeout
    ) -> Pin<Box<dyn Future<Output = Result<(Arc<dyn EndpointAdapt + 'static>, Box<dyn ConRecvAdapt<Item = Pin<Box<dyn Future<Output = Result<(Arc<dyn ConAdapt + 'static>, Box<dyn InChanRecvAdapt<Item = Pin<Box<dyn Future<Output = Result<Box<dyn AsFramedReader + 'static, Global>, KitsuneError>> + Send + 'static, Global>>> + 'static, Global>), KitsuneError>> + Send + 'static, Global>>> + 'static, Global>), KitsuneError>> + Send + 'static, Global>>; fn local_cert(&self) -> Tx2Cert; }
Expand description

Tx bind adapter represents the ability to bind local endpoints.

Required Methods§

Bind a local endpoint, given a url spec.

Get the local certificate digest.

Implementations on Foreign Types§

Implementors§

Tx bind adapter represents the ability to bind local endpoints.