pub trait Update {
    type Key: Ord + Clone + 'static;
    type Val: Ord + Clone + 'static;
    type Time: Ord + Lattice + Timestamp + Clone;
    type Diff: Semigroup + Clone;
}
Expand description

A type that names constituent update types.

Required Associated Types§

source

type Key: Ord + Clone + 'static

Key by which data are grouped.

source

type Val: Ord + Clone + 'static

Values associated with the key.

source

type Time: Ord + Lattice + Timestamp + Clone

Time at which updates occur.

source

type Diff: Semigroup + Clone

Way in which updates occur.

Implementations on Foreign Types§

source§

impl<K, V, T, R> Update for ((K, V), T, R)
where K: Ord + Clone + 'static, V: Ord + Clone + 'static, T: Ord + Lattice + Timestamp + Clone, R: Semigroup + Clone,

§

type Key = K

§

type Val = V

§

type Time = T

§

type Diff = R

Implementors§

source§

impl<K, V, T, R> Update for Preferred<K, V, T, R>
where K: ToOwned + ?Sized, K::Owned: Ord + Clone + 'static, V: ToOwned + ?Sized + 'static, V::Owned: Ord + Clone, T: Ord + Lattice + Timestamp + Clone, R: Semigroup + Clone,

§

type Key = <K as ToOwned>::Owned

§

type Val = <V as ToOwned>::Owned

§

type Time = T

§

type Diff = R