Skip to main content

Enter

Trait Enter 

Source
pub trait Enter<T1, T2> {
    type InnerContainer;

    // Required method
    fn enter(self) -> Self::InnerContainer;
}
Expand description

A container that can enter from timestamp T1 into timestamp T2.

Required Associated Types§

Source

type InnerContainer

The resulting container type.

Required Methods§

Source

fn enter(self) -> Self::InnerContainer

Update timestamps from T1 to T2.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<C: Enter<T1, T2> + Clone + Default, T1: Timestamp, T2: Refines<T1>> Enter<T1, T2> for Rc<C>

Source§

impl<D, T1: Timestamp, T2: Refines<T1>, R> Enter<T1, T2> for Vec<(D, T1, R)>

Implementors§

Source§

impl<K, V, T1, T2, R> Enter<T1, T2> for RecordedUpdates<(K, V, T1, R)>
where (K, V, T1, R): Update<Key = K, Val = V, Time = T1, Diff = R>, (K, V, T2, R): Update<Key = K, Val = V, Time = T2, Diff = R>, T1: Timestamp + Columnar + Default + Clone, T2: Refines<T1> + Columnar + Default + Clone, K: Columnar, V: Columnar, R: Columnar,