pub struct InMemoryStorage(/* private fields */);
Expand description
In-memory storage for testing and experimentation.
This is not for production use, but supports testing of sync server implementations.
NOTE: this panics if changes were made in a transaction that is later dropped without being committed, as this likely represents a bug that should be exposed in tests.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for InMemoryStorage
impl RefUnwindSafe for InMemoryStorage
impl Send for InMemoryStorage
impl Sync for InMemoryStorage
impl Unpin for InMemoryStorage
impl UnwindSafe for InMemoryStorage
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