pub trait Transactional {
    // Required methods
    fn commit(&mut self);
    fn rollback(&mut self);
}

Required Methods§

source

fn commit(&mut self)

source

fn rollback(&mut self)

Implementors§

source§

impl<K, V> Transactional for TransactionalHashMap<K, V>
where K: Eq + Hash + Clone, V: Clone,

source§

impl<T> Transactional for TransactionalVec<T>
where T: Clone,