Skip to content

Commit

Permalink
Add ReadableWritableStore
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin committed Dec 22, 2023
1 parent 51d9419 commit 6afb815
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

### Added
- Added `ReadableWritableStorage`
- Added `ReadableWritableStorage` and `ReadableWritableStore` and async variants
- Added `{async_}store_set_partial_values`
- **Breaking** Added `create_readable_writable_transformer` to `StorageTransformerExtension` trait

Expand Down
3 changes: 3 additions & 0 deletions src/storage/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ pub type ReadableStore = Arc<dyn super::ReadableStorageTraits>;
/// An [`Arc`] wrapped writable store.
pub type WritableStore = Arc<dyn super::WritableStorageTraits>;

/// An [`Arc`] wrapped readable and writable store.
pub type ReadableWritableStore = Arc<dyn super::ReadableWritableStorageTraits>;

/// An [`Arc`] wrapped listable store.
pub type ListableStore = Arc<dyn super::ListableStorageTraits>;

Expand Down

0 comments on commit 6afb815

Please sign in to comment.