pub trait Builder<K, V, T, R, Output: Batch<K, V, T, R>> {
    fn new() -> Self;
    fn with_capacity(cap: usize) -> Self;
    fn push(&mut self, element: (K, V, T, R));
    fn done(self, lower: &[T], upper: &[T], since: &[T]) -> Output;

    fn extend<I: Iterator<Item = (K, V, T, R)>>(&mut self, iter: I) { ... }
}
Expand description

Functionality for building batches from ordered update sequences.

Required Methods

Allocates an empty builder.

Allocates an empty builder with some capacity.

Adds an element to the batch.

Completes building and returns the batch.

Provided Methods

Adds an ordered sequence of elements to the batch.

Implementors

Functionality for building batches from ordered update sequences.

Functionality for building batches from ordered update sequences.