pub struct DirectoryPageCursor {
pub head_seq: ChangeSeq,
pub directory_inode_id: InodeId,
pub last_name_key: NameKey,
}Expand description
Cursor for one directory listing position.
Directory pagination advances in canonical name_key order. The cursor
is an ordering resume, not a snapshot pin: any head at or past head_seq
serves the next page, resuming strictly after last_name_key — the same
forward-only drift grep cursors tolerate.
The cursor intentionally contains only the minting head (head_seq),
listed directory identity (directory_inode_id), and resume position
(last_name_key). HTTP clients must pass the URL namespace and path on
every page. Runtime/server code resolves that path at the current head
and rejects the cursor unless it names directory_inode_id.
Fields§
§head_seq: ChangeSeqHead sequence the issuing page was evaluated at.
directory_inode_id: InodeIdDirectory inode resolved at head_seq.
last_name_key: NameKeyLast canonical name key returned to the client.
Trait Implementations§
Source§impl Clone for DirectoryPageCursor
impl Clone for DirectoryPageCursor
Source§fn clone(&self) -> DirectoryPageCursor
fn clone(&self) -> DirectoryPageCursor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more