Trait mentat_db::TransactWatcher [] [src]

pub trait TransactWatcher {
    fn datom(&mut self, op: OpType, e: Entid, a: Entid, v: &TypedValue);
fn done(&mut self, t: &Entid, schema: &Schema) -> Result<()>; }

Required Methods

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.

Implementors