Struct mentat_db::tx_observer::InProgressObserverTransactWatcher
[−]
[src]
pub struct InProgressObserverTransactWatcher { pub txes: IndexMap<Entid, AttributeSet>, // some fields omitted }
Fields
txes: IndexMap<Entid, AttributeSet>
Methods
impl InProgressObserverTransactWatcher
[src]
pub fn new() -> InProgressObserverTransactWatcher
[src]
Trait Implementations
impl TransactWatcher for InProgressObserverTransactWatcher
[src]
fn datom(&mut self, _op: OpType, _e: Entid, a: Entid, _v: &TypedValue)
[src]
fn done(&mut self, t: &Entid, _schema: &Schema) -> Result<()>
[src]
Only return an error if you want to interrupt the transact! Called with the schema prior to the transact -- any attributes or attribute changes transacted during this transact are not reflected in the schema. Read more