confitul 0.1.4

ConfitUL contains utilities for ConfitDB which is an experimental, distributed, real-time database, giving full control on conflict resolution.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::versioned::Versioned;
use ckey::CKey;
use std::hash::Hash;

#[derive(Debug, Clone)]
pub struct Conflict<C, T>
where
    C: Eq + Hash + Clone,
    T: Clone,
{
    pub key: CKey,
    pub left: Versioned<C, T>,
    pub right: Versioned<C, T>,
}