Function decode_cursor
pub fn decode_cursor(
raw: &str,
expected_order: &str,
expected_len: usize,
) -> Result<Vec<Option<String>>, CratestackError>Expand description
Decode and validate a cursor against the order the request resolved
to. Every failure is a CratestackError::BadRequest (RPC
invalid_argument): oversized, not base64url/JSON, minted for a
different order, or carrying the wrong number of values.