encode_cursor

Function encode_cursor 

Source
pub fn encode_cursor(offset: usize) -> String
Expand description

Encode a pagination cursor

Creates an opaque base64-encoded cursor from an offset. The cursor format is implementation-specific and clients should treat it as opaque.