pub trait BindAdapt: 'static + Send + Sync + Unpin {
    // Required methods
    fn bind(&self, url: TxUrl, timeout: KitsuneTimeout) -> EndpointFut;
    fn local_cert(&self) -> Tx2Cert;
}
Expand description

Tx bind adapter represents the ability to bind local endpoints.

Required Methods§

source

fn bind(&self, url: TxUrl, timeout: KitsuneTimeout) -> EndpointFut

Bind a local endpoint, given a url spec.

source

fn local_cert(&self) -> Tx2Cert

Get the local certificate digest.

Implementors§