Trait differential_dataflow::trace::layers::Builder[][src]

pub trait Builder {
    type Trie: Trie;
    fn boundary(&mut self) -> usize;
fn done(self) -> Self::Trie; }

A type used to assemble collections.

Associated Types

type Trie: Trie[src]

The type of collection produced.

Loading content...

Required methods

fn boundary(&mut self) -> usize[src]

Requests a commitment to the offset of the current-most sub-collection.

This is most often used by parent collections to indicate that some set of values are now logically distinct from the next set of values, and that the builder should acknowledge this and report the limit (to store as an offset in the parent collection).

fn done(self) -> Self::Trie[src]

Finalizes the building process and returns the collection.

Loading content...

Implementors

impl<K, L, O> Builder for OrderedBuilder<K, L, O> where
    K: Ord + Clone,
    L: Builder,
    O: OrdOffset,
    <O as TryFrom<usize>>::Error: Debug,
    <O as TryInto<usize>>::Error: Debug
[src]

type Trie = OrderedLayer<K, L::Trie, O>

impl<K: Ord + Clone, R: Semigroup + Clone> Builder for OrderedLeafBuilder<K, R>[src]

type Trie = OrderedLeaf<K, R>

Loading content...