Skip to main content

server_frame_from_reply

Function server_frame_from_reply 

Source
pub fn server_frame_from_reply(
    cx: &mut Cx,
    codec: &Symbol,
    reply: EvalReply,
    consistency: Consistency,
) -> Result<ServerFrame>
Expand description

Encodes an EvalReply into a response ServerFrame under codec.

Applies the given consistency and sets the envelope trace flag from the reply’s trace value.