Skip to main content

decode_outcome

Function decode_outcome 

Source
pub fn decode_outcome(value: &Value) -> Result<SignalsOutcome>
Expand description

Fail-closed decode: all four counters and the failures array are required. A response missing one is an http error, never “nothing happened” (main spec section 6.3).