Trait rust_ipfs::repo::RepoTypes

source ·
pub trait RepoTypes: Send + Sync + 'static {
    type TBlockStore: BlockStore;
    type TDataStore: DataStore;
    type TLock: Lock;
}
Expand description

Consolidates BlockStore and DataStore into a representation of storage.

Required Associated Types§

source

type TBlockStore: BlockStore

Describes a blockstore.

source

type TDataStore: DataStore

Describes a datastore.

source

type TLock: Lock

Implementors§