Function kitsune_p2p_types::tx2::tx2_api::tx2_api
source · pub fn tx2_api<C: Codec + 'static + Send + Unpin>(
factory: EpFactory,
metrics: Tx2ApiMetrics
) -> Tx2EpFactory<C>
Expand description
Construct a new Tx2EpFactory instance from a pool EpFactory