Skip to main content

PageCursor

Trait PageCursor 

Source
pub trait PageCursor: Serialize + DeserializeOwned {
    const KIND: &'static str;
}
Expand description

A serializable cursor with an endpoint discriminator.

Required Associated Constants§

Source

const KIND: &'static str

Frozen endpoint discriminator written into the encoded cursor.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl PageCursor for DirectoryPageCursor

Source§

const KIND: &'static str = "directory"

Source§

impl PageCursor for FileRevisionsPageCursor

Source§

const KIND: &'static str = "file_revisions"

Source§

impl PageCursor for GrepPageCursor

Source§

const KIND: &'static str = "grep"

Source§

impl PageCursor for TrashPageCursor

Source§

const KIND: &'static str = "trash"