pub fn client_decodes(
caps: ClientCapabilities,
event: &SessionEventWire,
) -> boolExpand description
Whether a client that declared caps can decode event once it is a
wire frame. The enums nested under Stream have no #[serde(other)],
so an older client does not skip an unknown nested variant: the whole
frame fails to decode, SocketTransport::next_event treats that as a
dead socket and the TUI drops into reconnect — whose Attached replay
may carry the very same event and fail again. The daemon therefore
drops, per connection, every event the client did not opt into
(daemon/conn.rs, live pump and attach replay alike).