Skip to main content

decode

Function decode 

Source
pub fn decode(value: &Value) -> Option<DecodedState>
Expand description

Decode one STATE_QUERY_LUA response. Returns None when the value is not the expected array or the leading mode element is missing — the caller leaves the snapshot untouched in that case.