pub fn stream_frame_to_expr(
cx: &mut Cx,
frame: &ServerFrame,
) -> Result<Option<Expr>>Expand description
Converts a stream frame into the expression it carries, if any.
Response and stream-chunk frames yield an expression; stream start/end
frames yield None; other frame kinds are an error.