Get a single value from the store, or None if no entry exists for the key.
Get a single value from the store, or None if no entry exists for the key.
Add a new key-value pair to the store, or replace an existing mapping.
Add a new key-value pair to the store, or replace an existing mapping.
Call this method to close the Store when you are done using it.
Call this method to close the Store when you are done using it.
This method should be overridden by implementations if any actions need to be taken to close / disconnect from the store.
Get mutiple values at once.
Get mutiple values at once.
A default implementation using get() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.
Add multiple values at once.
Add multiple values at once.
A default implementation using put() is provided, but this should be overridden if a more efficient implementation exists for a particular backing store.
Combined trait for a store which supports reads, writes, and deletes (via writing None to a key).