pub struct GrepPageCursor {
pub head_seq: ChangeSeq,
pub last_inode_id: InodeId,
pub last_byte_offset: u64,
pub fingerprint: u64,
}Expand description
A cursor that resumes content search after one (inode_id, byte_offset) position.
Fields§
§head_seq: ChangeSeqSequence the issuing page was evaluated at.
last_inode_id: InodeIdInode of the last candidate the issuing page finished scanning.
last_byte_offset: u64The last match offset, or u64::MAX when the file was fully scanned.
fingerprint: u64The fingerprint of the pattern, flags, and scope that issued the cursor.
Trait Implementations§
Source§impl Clone for GrepPageCursor
impl Clone for GrepPageCursor
Source§impl Debug for GrepPageCursor
impl Debug for GrepPageCursor
Source§impl<'de> Deserialize<'de> for GrepPageCursor
impl<'de> Deserialize<'de> for GrepPageCursor
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 GrepPageCursor
Source§impl PageCursor for GrepPageCursor
impl PageCursor for GrepPageCursor
Source§impl PartialEq for GrepPageCursor
impl PartialEq for GrepPageCursor
Source§impl Serialize for GrepPageCursor
impl Serialize for GrepPageCursor
impl StructuralPartialEq for GrepPageCursor
Auto Trait Implementations§
impl Freeze for GrepPageCursor
impl RefUnwindSafe for GrepPageCursor
impl Send for GrepPageCursor
impl Sync for GrepPageCursor
impl Unpin for GrepPageCursor
impl UnsafeUnpin for GrepPageCursor
impl UnwindSafe for GrepPageCursor
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