Skip to main content

decode_phase

Function decode_phase 

Source
pub fn decode_phase(value: &Value) -> Option<TriggerPhase>
Expand description

Decode the trigger phase from a Value.

Returns Some(TriggerPhase) if the value is a valid 6-byte two-boolean payload.