crossbeam 0.2.5

Support for lock-free data structures, synchronizers, and parallel programming
1
2
3
4
5
6
7
8
9
10
11
12
13
impl<K, V> ConcurrentMap<K, V> {
    fn insert(&self, K, V) -> Result<(), (K, V)>;
    fn get(&self, &K) -> Option<&V>;
    fn remove(&self, &K) -> Option<(K, V)>
}

impl<T> Promise<T> {
    fn fulfill(self, T);
}

impl<T> Future<T> {
    fn
}