Skip to main content

Update

Trait Update 

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

Time at which updates occur.

Source

type Diff: Ord + Semigroup + 'static

Way in which updates occur.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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

Source§

type Key = K

Source§

type Val = V

Source§

type Time = T

Source§

type Diff = R

Implementors§