Skip to main content

encode_response

Function encode_response 

Source
pub fn encode_response(
    record: &PlanRecord,
    request: &CaptureRequest,
    expected: &CaptureExpected,
    context: &ProtectedContext,
) -> Result<Vec<u8>, &'static str>
Expand description

No stderr/exit/deadline checks here: those belong to the future host runner.