#[non_exhaustive]pub struct SessionViewHealthChangedParams {
pub session_id: String,
pub health: SessionViewHealth,
pub none_reason: Option<HistoryNoneReason>,
}Expand description
session/viewHealthChanged params: the named session’s live view stream
became unavailable, and why.
Best-effort: ordered after already-queued view frames and may be dropped
(for example when the connection is closing), so a client MUST NOT assume a
guaranteed push and still reads history.noneReason on its next
resume/read.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe session whose live view health changed.
health: SessionViewHealthThe new view-health state. In v1 the host emits only Unavailable.
none_reason: Option<HistoryNoneReason>Why the view is unavailable — the SAME typed HistoryNoneReason
vocabulary the pull path stamps on history.noneReason, so a client
reuses one handler for push and pull. projectionUnavailable in v1;
present only when health is Unavailable. Open on the client side: an
unknown reason decodes conservatively and renders generically.