Struct ShadowKVStore
pub struct ShadowKVStore<S: KVStore> { /* private fields */ }Expand description
This store will buffer all the atomic writes made by atomic_write, until the invocation of
commit. This creates a tranasprent layer to defer/aggregate the writes into a coarser atomic commit.
Implementations§
§impl<S: KVStore> ShadowKVStore<S>
impl<S: KVStore> ShadowKVStore<S>
pub fn new(inner: S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<S> !Freeze for ShadowKVStore<S>
impl<S> !RefUnwindSafe for ShadowKVStore<S>
impl<S> Send for ShadowKVStore<S>
impl<S> Sync for ShadowKVStore<S>
impl<S> Unpin for ShadowKVStore<S>where
S: Unpin,
impl<S> !UnwindSafe for ShadowKVStore<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more