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<Rc<str>, EntryChange>
pub fn keys(&self, txn: &TransactionMut<'_>) -> &HashMap<Rc<str>, EntryChange>
Returns a summary of key-value changes made over corresponding Map collection within bounds of current transaction.