Crate ipfs_embed[−][src]
Expand description
Ipfs embed is a small, fast and reliable ipfs implementation designed for embedding in to complex p2p applications.
let ipfs = Ipfs::<DefaultParams>::new(Config::default()).await?; ipfs.listen_on("/ip4/0.0.0.0/tcp/0".parse()?)?;
Re-exports
pub use libp2p::multiaddr;
Structs
An record in a prioritised list of addresses.
A handle for performing batch operations on an ipfs storage
Bitswap configuration.
Block
Ipfs configuration.
Default store parameters.
DNS
configuration.
Configuration parameters that define the performance of the gossipsub network.
Configuration for the [Identify
] [NetworkBehaviour
].
Ipfs node.
Configuration for a MemoryStore
.
The (opaque) key of a record.
An ed25519 keypair.
The ID of a single listener.
Configuration for mDNS.
Representation of a Multiaddr.
Network configuration.
Identifier of a peer of the network.
A record either received by the given peer or retrieved from the local record store.
The configuration for outbound pings.
An ed25519 public key.
A record stored in the DHT.
An EdDSA secret key.
Storage configuration.
A bitswap
sync query.
a handle that contains a temporary pin
Parameters governing the core QUIC state machine
Enums
A quorum w.r.t. the configured replication factor specifies the minimum number of distinct nodes that must be successfully contacted in order for a query to succeed.
An event of a sync query.
Traits
Functions
Type Definitions
A Cid that contains a multihash with an allocated size of 512 bits.