Trait TableIndexCdc

Source
pub trait TableIndexCdc<T> {
    // Required methods
    fn insert_cdc(
        &self,
        value: T,
        link: Link,
    ) -> (Option<Link>, Vec<ChangeEvent<Pair<T, Link>>>);
    fn remove_cdc(
        &self,
        value: T,
        link: Link,
    ) -> (Option<(T, Link)>, Vec<ChangeEvent<Pair<T, Link>>>);
}

Required Methods§

Source

fn insert_cdc( &self, value: T, link: Link, ) -> (Option<Link>, Vec<ChangeEvent<Pair<T, Link>>>)

Source

fn remove_cdc( &self, value: T, link: Link, ) -> (Option<(T, Link)>, Vec<ChangeEvent<Pair<T, Link>>>)

Implementors§

Source§

impl<T, Node> TableIndexCdc<T> for IndexMap<T, Link, Node>
where T: Eq + Hash + Clone + Send + Ord, Node: NodeLike<Pair<T, Link>> + Send + 'static,

Source§

impl<T, Node> TableIndexCdc<T> for IndexMultiMap<T, Link, Node>
where T: Eq + Hash + Clone + Send + Ord, Node: NodeLike<MultiPair<T, Link>> + Send + 'static,