pub struct Spine<K, V, T: Lattice + Ord, R: Diff, B: Batch<K, V, T, R>> { /* private fields */ }
Expand description

An append-only collection of update tuples.

A spine maintains a small number of immutable collections of update tuples, merging the collections when two have similar sizes. In this way, it allows the addition of more tuples, which may then be merged with other immutable collections.

Implementations

Allocates a fueled Spine with a specified effort multiplier.

This trace will merge batches progressively, with each inserted batch applying a multiple of the batch’s length in effort to each merge. The effort parameter is that multiplier. This value should be at least one for the merging to happen; a value of zero is not helpful.

Trait Implementations

Allocates a new empty trace.
Introduces a batch of updates to the trace. Read more
Introduces an empty batch concluding the trace. Read more
The type of an immutable collection of updates.
The type used to enumerate the collections contents.
Acquires a cursor to the restriction of the collection’s contents to updates at times not greater or equal to an element of upper. Read more
Advances the frontier of times the collection must be correctly accumulable through. Read more
Reports the frontier from which all time comparisions should be accurate. Read more
Advances the frontier that may be used in cursor_through. Read more
Reports the frontier from which the collection may be subsetted. Read more
Maps some logic across the batches the collection manages. Read more
Provides a cursor over updates contained in the trace.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.