Expand description
Storage implementation(s) backing the crate::Ipfs
.
Modules§
- blockstore
- datastore
- lock
- Persistent fs backed repo.
Structs§
- GCConfig
- GCGuard
- Repo
- Describes a repo. Consolidates a blockstore, a datastore and a subscription registry.
- Repo
Fetch - Repo
GetBlock - Repo
GetBlocks - Repo
Insert Pin - Repo
PutBlock - Repo
Remove Pin
Enums§
- Block
Put - Describes the outcome of
BlockStore::put_block
. - BlockRm
- Describes the outcome of
BlockStore::remove
. - Block
RmError - Describes the error variants for
BlockStore::remove
. - GCTrigger
- Lock
Error - Errors variants describing the possible failures for
Lock::try_exclusive
. - PinKind
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
PinMode
is the description of pin type for quering purposes.- Repo
Event - Events used to communicate to the swarm on repo changes.
Traits§
- Block
Store - This API is being discussed and evolved, which will likely lead to breakage.
- Data
Store - Generic layer of abstraction for a key-value data store.
- Lock
- A trait for describing repository locking.
- PinStore