Module linked_chunk

Source
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 by ObservableUpdates::take) into a Vec<VectorDiff<Item>> (this type). Basically, it helps to consume a LinkedChunk<CAP, Item, Gap> as if it was an [eyeball_im::ObservableVector<Item>].
Chunk
A chunk is a node in the LinkedChunk.
ChunkIdentifier
The unique identifier of a chunk in a LinkedChunk.
ChunkIdentifierGenerator
Generator for Chunk’s identifier.
Iter
An iterator over a LinkedChunk that traverses the chunk in forward direction (i.e. it calls next on each chunk to make progress).
IterBackward
An iterator over a LinkedChunk that traverses the chunk in backward direction (i.e. it calls previous on each chunk to make progress).
LinkedChunk
The LinkedChunk structure.
ObservableUpdates
A collection of Updates that can be observed.
Position
The position of something inside a Chunk.
RawChunk
The raw representation of a linked chunk, as persisted in storage.

Enums§

ChunkContent
This enum represents the content of a Chunk.
EmptyChunk
A type representing what to do when the system has to handle an empty chunk.
Error
Errors of LinkedChunk.
Update
Represent the updates that have happened inside a LinkedChunk.