Struct mentat_db::tx_observer::TxObserver
[−]
[src]
pub struct TxObserver { /* fields omitted */ }
Methods
impl TxObserver
[src]
pub fn new<F>(attributes: AttributeSet, notify_fn: F) -> TxObserver where
F: Fn(&str, IndexMap<&Entid, &AttributeSet>) + 'static + Send + Sync,
[src]
F: Fn(&str, IndexMap<&Entid, &AttributeSet>) + 'static + Send + Sync,
pub fn applicable_reports<'r>(
&self,
reports: &'r IndexMap<Entid, AttributeSet>
) -> IndexMap<&'r Entid, &'r AttributeSet>
[src]
&self,
reports: &'r IndexMap<Entid, AttributeSet>
) -> IndexMap<&'r Entid, &'r AttributeSet>