Crate bee_storage[−][src]
Expand description
A general purpose storage backend crate with key value abstraction API.
Features
Access implementation:
- Traits contracts which define the general purpose database operations such as (insert, fetch, …);
Backend implementation:
- Trait contract to start and shutdown backends;
- Configuration and associated builder to configure different backends;
This crate tries to simplify the implementation of various storage backends and provides unified access API for the application/user space.
Modules
access | This module forms the access layer of the backend which holds the contracts of unified database access operations across all the backends and Bee types. |
backend | This module forms the backend layer which holds the contracts of starting and shutting down the backend, as well as accessing backend properties. |
health | Defines a type to represent different health states in which the storage backend can be. |