Expand description
A linked chunk is the underlying data structure that holds all events.
Modules§
- lazy_
loader - relational
- Implementation for a relational linked chunk, see
RelationalLinkedChunk.
Structs§
- AsVector
- A type that transforms a
Vec<Update<Item, Gap>>(given byObservableUpdates::take) into aVec<VectorDiff<Item>>(this type). Basically, it helps to consume aLinkedChunk<CAP, Item, Gap>as if it was aneyeball_im::ObservableVector<Item>. - Chunk
- A chunk is a node in the
LinkedChunk. - Chunk
Identifier - The unique identifier of a chunk in a
LinkedChunk. - Chunk
Identifier Generator - Generator for
Chunk’s identifier. - Chunk
Metadata - A simplified
RawChunkthat only contains the number of items in a chunk, instead of its type. - Iter
- An iterator over a
LinkedChunkthat traverses the chunk in forward direction (i.e. it callsnexton each chunk to make progress). - Iter
Backward - An iterator over a
LinkedChunkthat traverses the chunk in backward direction (i.e. it callspreviouson each chunk to make progress). - Linked
Chunk - The
LinkedChunkstructure. - Observable
Updates - A collection of
Updates that can be observed. - Order
Tracker - A tracker for the order of items in a linked chunk.
- Position
- The position of something inside a
Chunk. - RawChunk
- The raw representation of a linked chunk, as persisted in storage.
Enums§
- Chunk
Content - This enum represents the content of a
Chunk. - Error
- Errors of
LinkedChunk. - Linked
Chunk Id - An identifier for a linked chunk; borrowed variant.
- Owned
Linked Chunk Id - An identifier for a linked chunk; owned variant.
- Update
- Represent the updates that have happened inside a
LinkedChunk.