Skip to main content

Module prior_gaps

Module prior_gaps 

Source
Expand description

The Prior Group ID Gap and Prior Object ID Gap conditions that show across the Objects of one fetch stream, on drafts 11-23. Each draft’s FetchGaps refuses what one Object shows on its own and hands its gaps here.

A fetch stream carries its Groups in the requested Group Order and, within a Group, its Objects in Object ID order: draft-11 Section 8.13 and draft-23 Section 3.2.1, “Within each group, objects are sent in Object ID order; subgroup ID is not used for ordering.” So the Group before this one, and the Object before this one in its Group, are the only ones a gap below this Object can cover, and the only ones whose gap can hold this Object.

Re-exports§

use crate::error::CodecError; 🔒

Structs§

FetchGapTracker 🔒
The Prior gap state of one fetch stream.
GroupRun 🔒

Enums§

GapRules 🔒
Which Prior gap conditions a draft states without contradicting itself.

Functions§

malformed 🔒