pub struct MapEvent { /* private fields */ }Expand description
Event generated by [Map::observe] method. Emitted during transaction commit phase.
Implementations§
Source§impl MapEvent
impl MapEvent
Sourcepub fn path(&self) -> Path
pub fn path(&self) -> Path
Returns a path from root type down to Map instance which emitted this event.
Sourcepub fn keys(&self, txn: &TransactionMut<'_>) -> &HashMap<Arc<str>, EntryChange>
pub fn keys(&self, txn: &TransactionMut<'_>) -> &HashMap<Arc<str>, EntryChange>
Returns a summary of key-value changes made over corresponding Map collection within bounds of current transaction.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for MapEvent
impl !RefUnwindSafe for MapEvent
impl Send for MapEvent
impl !Sync for MapEvent
impl Unpin for MapEvent
impl !UnwindSafe for MapEvent
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