Crate ipfs_embed_core

Source

Structs§

AddressRecord
An record in a prioritised list of addresses.
BitswapStorage
Block
Block
BlockNotFound
The block wasn’t found. The supplied string is a CID.
Error
The Error type, a wrapper around a dynamic error type.
Multiaddr
Representation of a Multiaddr.
PeerId
Identifier of a peer of the network.
Query
Query.

Enums§

NetworkEvent
QueryType
Query type.
StorageEvent

Traits§

BitswapStore
Bitswap store abstraction.
BitswapSync
Bitswap sync trait for customizing the syncing behaviour.
MultihashDigest
Trait that implements hashing.
Network
Storage
Store
Implementable by ipld stores. An ipld store behaves like a cache. It will keep blocks until the cache is full after which it evicts blocks based on an eviction policy. If a block is aliased (recursive named pin), it and it’s recursive references will not be evicted or counted towards the cache size.
StoreParams
The store parameters.

Type Aliases§

Cid
A Cid that contains a multihash with an allocated size of 512 bits.
QueryResult
The result of a Query.
Result
Result<T, Error>
U64

Attribute Macros§

async_trait