Function rust_ipfs::p2p::create_swarm

source ·
pub async fn create_swarm<C>(
    keypair: &Keypair,
    options: &IpfsOptions,
    swarm_config: SwarmConfig,
    transport_config: TransportConfig,
    repo: Repo,
    span: Span,
    __arg6: (Option<C>, Option<Box<dyn Fn(&Keypair, Option<Transport>) -> Result<Boxed<(PeerId, StreamMuxerBox)>> + Sync + Send + 'static>>)
) -> Result<TSwarm<C>, Error>
Expand description

Creates a new IPFS swarm.