txmap 1.0.0

A concurrent transactional hash map with fine-grained locking and internal mutability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::finishers::finisher_trait::FinisherTrait;
use hashbrown::HashMap;
use intmap::IntMap;
use parking_lot::MutexGuard;

pub struct NoneFinisher;

impl<K, V> FinisherTrait<K, V> for NoneFinisher {
    type Output = ();

    fn guards_bitmask(&self) -> u128 {
        0
    }
    fn to_result(&self, _: &IntMap<u8, MutexGuard<'_, HashMap<K, V>>>) -> Self::Output {}
}