pub trait BuilderInput<K: BatchContainer, V: BatchContainer>: Container {
type Key<'a>: Ord;
type Val<'a>: Ord;
type Time;
type Diff;
// Required methods
fn into_parts<'a>(
item: Self::Item<'a>,
) -> (Self::Key<'a>, Self::Val<'a>, Self::Time, Self::Diff);
fn key_eq(this: &Self::Key<'_>, other: K::ReadItem<'_>) -> bool;
fn val_eq(this: &Self::Val<'_>, other: V::ReadItem<'_>) -> bool;
}
Expand description
Behavior to split an update into principal components.
Required Associated Types§
Required Methods§
sourcefn into_parts<'a>(
item: Self::Item<'a>,
) -> (Self::Key<'a>, Self::Val<'a>, Self::Time, Self::Diff)
fn into_parts<'a>( item: Self::Item<'a>, ) -> (Self::Key<'a>, Self::Val<'a>, Self::Time, Self::Diff)
Split an item into separate parts.
Object Safety§
This trait is not object safe.