[][src]Crate ipfs_embed_core

Structs

BitswapStorage
Block

Block

BlockNotFound

The block wasn't found. The supplied string is a CID.

Cid

Representation of 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.

MultihashCode

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 Definitions

QueryResult

The result of a Query.

Result

Result<T, Error>

U64

Attribute Macros

async_trait