pub struct Query<'q, 's, S: RangeSource> { /* private fields */ }Expand description
Metadata-only generation guard shared by material lookup and archive input coverage. It cannot replace the original document’s source or execution.
Trait Implementations§
Source§impl<'q, S: RangeSource> Query for Query<'q, '_, S>
impl<'q, S: RangeSource> Query for Query<'q, '_, S>
Source§type Document = <S as RangeSource>::Document
type Document = <S as RangeSource>::Document
Stable document identity.
Source§type Generation = <S as RangeSource>::Generation
type Generation = <S as RangeSource>::Generation
Exact document generation.
Source§fn snapshot(&self) -> Snapshot<Self::Document, Self::Generation>
fn snapshot(&self) -> Snapshot<Self::Document, Self::Generation>
The expected source snapshot of every fact checked in this query.
Source§fn execution(&self) -> &Self::Work
fn execution(&self) -> &Self::Work
The current execution; storage and work for results are admitted here.
Auto Trait Implementations§
impl<'q, 's, S> !RefUnwindSafe for Query<'q, 's, S>
impl<'q, 's, S> !Send for Query<'q, 's, S>
impl<'q, 's, S> !Sync for Query<'q, 's, S>
impl<'q, 's, S> !UnwindSafe for Query<'q, 's, S>
impl<'q, 's, S> Forget for Query<'q, 's, S>
impl<'q, 's, S> Freeze for Query<'q, 's, S>
impl<'q, 's, S> Unpin for Query<'q, 's, S>
impl<'q, 's, S> UnsafeUnpin for Query<'q, 's, S>where
&'q Document<'s, S>: UnsafeUnpin,
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