Crate ipfs_embed[−][src]
Ipfs embed is a small, fast and reliable ipfs implementation designed for embedding in to complex p2p applications.
let ipfs = Ipfs::<DefaultParams>::new(Config::new(None, cache_size)).await?; ipfs.listen_on("/ip4/0.0.0.0/tcp/0".parse()?).await?;
Structs
AddressRecord | An record in a prioritised list of addresses. |
BitswapConfig | Bitswap configuration. |
Config | Ipfs configuration. |
DefaultParams | Default store parameters. |
Ipfs | Ipfs node. |
Key | The (opaque) key of a record. |
Multiaddr | Representation of a Multiaddr. |
NetworkConfig | Network configuration. |
PeerId | Identifier of a peer of the network. |
PeerInfo | |
PeerRecord | A record either received by the given peer or retrieved from the local record store. |
Record | A record stored in the DHT. |
StorageConfig | Storage configuration. |
SyncQuery | A |
TempPin | a handle that contains a temporary pin |
Enums
AddressSource | |
Quorum | 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. |
SyncEvent | An event of a sync query. |