StorageConnection
The StorageConnection
trait contains functions for interacting with BonsaiDb's multi-database storage. This trait is implemented by these types:
- For bonsaidb-local:
Storage
- For bonsaidb-server:
CustomServer<Backend>
/Server
- For bonsaidb-client:
Client
Using this trait, you can write code that generically can work regardless of whether BonsaiDb is operationg locally with no network connection or across the globe.
This is an async trait, which unfortunately yields messy documentation.