Function rust_ipfs::p2p::create_swarm

source ·
pub async fn create_swarm<C>(
    keypair: &Keypair,
    options: &IpfsOptions,
    repo: &Repo,
    span: Span,
    __arg4: (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.