pub struct HashMapStoreSnapshot { /* private fields */ }Expand description
Snapshot of the entire store. O(1) to create thanks to im::HashMap structural sharing.
Entity-table and junction fields are pub(crate) so the generated per-entity
repositories (same crate) can read the captured rows/junctions during a scoped
restore. Counters stay private (restore never touches them — ids stay monotonic).
Trait Implementations§
Source§impl Clone for HashMapStoreSnapshot
impl Clone for HashMapStoreSnapshot
Source§impl Debug for HashMapStoreSnapshot
impl Debug for HashMapStoreSnapshot
Auto Trait Implementations§
impl Freeze for HashMapStoreSnapshot
impl RefUnwindSafe for HashMapStoreSnapshot
impl Send for HashMapStoreSnapshot
impl Sync for HashMapStoreSnapshot
impl Unpin for HashMapStoreSnapshot
impl UnsafeUnpin for HashMapStoreSnapshot
impl UnwindSafe for HashMapStoreSnapshot
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