Module matrix_sdk_base::linked_chunk
source · Expand description
A linked chunk is the underlying data structure that holds all events.
Structs§
- 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>
. - A chunk is a node in the
LinkedChunk
. - The unique identifier of a chunk in a
LinkedChunk
. - An iterator over a
LinkedChunk
that traverses the chunk in forward direction (i.e. it callsnext
on each chunk to make progress). - An iterator over a
LinkedChunk
that traverses the chunk in backward direction (i.e. it callsprevious
on each chunk to make progress). - The
LinkedChunk
structure. - A collection of
Update
s that can be observed. - The position of something inside a
Chunk
.
Enums§
- This enum represents the content of a
Chunk
. - A type representing what to do when the system has to handle an empty chunk.
- Errors of
LinkedChunk
. - Represent the updates that have happened inside a
LinkedChunk
.