1 2 3 4 5 6 7 8 9 10
use hashbrown::HashMap; use intmap::IntMap; use parking_lot::MutexGuard; pub trait FinisherTrait<K, V> { type Output; fn guards_bitmask(&self) -> u128; fn to_result(&self, mutex_guards: &IntMap<u8, MutexGuard<'_, HashMap<K, V>>>) -> Self::Output; }