pub trait Update {
    type Key: Ord + Clone + 'static;
    type Val: Ord + Clone + 'static;
    type Time: Ord + Clone + Lattice + Timestamp;
    type Diff: Ord + Semigroup + 'static;
}
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 + Clone + Lattice + Timestamp

Time at which updates occur.

Source

type Diff: Ord + Semigroup + 'static

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 + Clone + Lattice + Timestamp, R: Ord + Semigroup + 'static,

Source§

type Key = K

Source§

type Val = V

Source§

type Time = T

Source§

type Diff = R

Implementors§

Source§

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

Source§

type Key = <K as ToOwned>::Owned

Source§

type Val = <V as ToOwned>::Owned

Source§

type Time = T

Source§

type Diff = R