pub trait PageCursor: Serialize + DeserializeOwned {
const KIND: &'static str;
}Expand description
One paginated endpoint’s cursor.
Cursors are opaque to clients: hex-encoded JSON carrying the endpoint’s
KIND and the format version, so a cursor replayed against
the wrong endpoint or an older build is rejected rather than misread.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".