rings-core 0.3.0

Chord DHT implementation with ICE
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Traits about MemStorage and PersistenceStorage

mod memory;
pub mod persistence;

pub use memory::MemStorage;

#[cfg(feature = "wasm")]
pub use self::persistence::idb::IDBStorage as PersistenceStorage;
#[cfg(not(feature = "wasm"))]
pub use self::persistence::kv::KvStorage as PersistenceStorage;
pub use self::persistence::PersistenceStorageOperation;
pub use self::persistence::PersistenceStorageReadAndWrite;
pub use self::persistence::PersistenceStorageRemove;