pub type QuadPageStream = Pin<Box<dyn Stream<Item = Result<ScanPage, Status>> + Send>>;Expand description
Storage-driven drain of one scan: pages of encoded quads until the
partition exhausts the prefix (or the request limit rows have been
emitted); an Err item terminates the stream.
This is the eager-path transport: unlike a unary HexastoreScan
response it never has to fit in one gRPC message, but — unlike the
OpenNode pull loop — paging is driven by the storage side, not by
compute’s remaining demand.
Each item carries the producing frame’s [ScanExhaustion] verdict,
present only when the request purchased one (verdict_wanted): a
mid-walk data frame carries NOTHING (the walk being live at a frame
boundary says nothing about what follows it), the limit-stop flush
carries Limited, and the terminal frame (emitted just before
end-of-stream) carries the walk’s terminal verdict. A consumer that
stops pulling before the terminal frame never holds a terminal
claim — the conservative reading.
Aliased Type§
pub struct QuadPageStream { /* private fields */ }