rust_p2p_core::pipe

Function pipe

source
pub fn pipe<PeerID: Hash + Eq + Clone>(
    config: PipeConfig,
) -> Result<PipeComponent<PeerID>>
Expand description

Construct the needed components for p2p communication with the given pipe configuration