pub struct DirectoryPageCursor {
pub head_seq: ChangeSeq,
pub snapshot_id: Option<SnapshotId>,
pub directory_inode_id: InodeId,
pub last_name_key: NameKey,
}Expand description
A cursor that resumes one directory listing after last_name_key.
Snapshot cursors can resume only against the same snapshot.
Fields§
§head_seq: ChangeSeqHead sequence the issuing page was evaluated at.
snapshot_id: Option<SnapshotId>The snapshot that issued this cursor, or None for a live read.
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§impl Debug for DirectoryPageCursor
impl Debug for DirectoryPageCursor
Source§impl<'de> Deserialize<'de> for DirectoryPageCursor
impl<'de> Deserialize<'de> for DirectoryPageCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DirectoryPageCursor
Source§impl PageCursor for DirectoryPageCursor
impl PageCursor for DirectoryPageCursor
Source§impl PartialEq for DirectoryPageCursor
impl PartialEq for DirectoryPageCursor
Source§impl Serialize for DirectoryPageCursor
impl Serialize for DirectoryPageCursor
impl StructuralPartialEq for DirectoryPageCursor
Auto Trait Implementations§
impl Freeze for DirectoryPageCursor
impl RefUnwindSafe for DirectoryPageCursor
impl Send for DirectoryPageCursor
impl Sync for DirectoryPageCursor
impl Unpin for DirectoryPageCursor
impl UnsafeUnpin for DirectoryPageCursor
impl UnwindSafe for DirectoryPageCursor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more