Skip to main content

decode_job_result

Function decode_job_result 

Source
pub fn decode_job_result(
    result_bytes: &[u8],
    timeline_bytes: &[u8],
) -> Result<JobResultView, AnalyticsDecodeError>
Expand description

Decode the JobResult + JobTimeline envelope, falling back to decode_and_derive when the oneof is unset.

ยงErrors

Returns an error when the envelope or its embedded analytics payload cannot be decoded.