pub fn decode_cursor(cursor: &str) -> Result<CursorData, PaginationError>Expand description
Decode a base64-encoded JSON cursor string.
ยงErrors
Returns PaginationError::InvalidCursor if base64 decoding fails, UTF-8 conversion fails, or JSON parsing fails.