decode_hot_frame

Function decode_hot_frame 

Source
pub fn decode_hot_frame(buf: Bytes) -> Result<HotFrame, WsPrismError>
Expand description

Decode a Hot Lane frame from bytes.

Defensive against malformed input; returns structured errors instead of panicking on short buffers or unsupported versions.