#[non_exhaustive]pub enum HistoryNoneReason {
Excluded,
CursorSuffix,
HistoryBudget,
ProjectionUnavailable,
ProjectionReadLimit,
ProjectionRebuildFailed,
Unknown(String),
}Expand description
Why a result served history.mode: "none" — the server’s typed reason for
serving no history, with one push-only exception: projectionRebuildFailed
rides only a session/viewHealthChanged notification; no resume or read
result carries it (see its variant doc). Open on the client side: an
absent (older server) or unknown (newer server) value decodes
conservatively as an unknown reason, and viewCursor text never
substitutes for it.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Excluded
The request’s effective excludeItems was true (the
session/read default; explicit on resume/fork).
CursorSuffix
A retained cursor was supplied; the streamed suffix carries the history.
HistoryBudget
Every rung through the elided pending cut exceeded the history budget;
page via view/page from the result’s viewCursor.
No trustworthy materialized projection exists; paging cannot recover it.
ProjectionReadLimit
The projection exists but the aggregate materialized read exceeded its bounded read cap; page in bounded chunks.
ProjectionRebuildFailed
One value is push-only: projectionRebuildFailed rides only a
session/viewHealthChanged notification, after the host’s one re-load
of a failed live view fails or right after a fork child’s live
fail-close; no resume or read result carries it. The view stays
unavailable for this load; never followed by healthy.
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Excluded from the generated schema while the enum stays declared open; never construct it with a known word.