pub struct MapEvent { /* private fields */ }Expand description
Event generated by Map::observe method. Emitted during transaction commit phase.
Implementations
sourceimpl 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: &Transaction) -> &HashMap<Rc<str>, EntryChange>
pub fn keys(&self, txn: &Transaction) -> &HashMap<Rc<str>, EntryChange>
Returns a summary of key-value changes made over corresponding Map collection within bounds of current transaction.
Auto Trait Implementations
impl !RefUnwindSafe for MapEvent
impl !Send for MapEvent
impl !Sync for MapEvent
impl Unpin for MapEvent
impl !UnwindSafe for MapEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more