Expand description
Storage implementation(s) backing the crate::Ipfs
.
Modules
- Persistent fs backed repo.
- Volatile memory backed repo
Structs
- Describes a repo.
- A wrapper for
Cid
that has aMultihash
-based equality check.
Enums
- Describes the outcome of
BlockStore::put_block
. - Describes the outcome of
BlockStore::remove
. - Describes the error variants for
BlockStore::remove
. - Errors variants describing the possible failures for
Lock::try_exclusive
. PinKind
is more specific pin description for writing purposes. ImplementsPartialEq<&PinMode>
. Generic overBorrow<Cid>
to allow storing both reference and owned value of Cid.PinMode
is the description of pin type for quering purposes.- Events used to communicate to the swarm on repo changes.
Traits
- This API is being discussed and evolved, which will likely lead to breakage.
- Generic layer of abstraction for a key-value data store.
- A trait for describing repository locking.
Functions
- Convenience for creating a new
Repo
from theRepoOptions
.