pub enum QueryWindow<'a> {
All,
Since(ChangeTick),
Cursor(&'a mut QueryCursor),
}Expand description
Added/changed window for one prepared-query execution.
Variants§
All
Traverse from the start of change history.
Since(ChangeTick)
Half-open window (tick, captured_now].
Cursor(&'a mut QueryCursor)
Reusable cursor bound to this prepared query’s fingerprint.
Implementations§
Source§impl<'a> QueryWindow<'a>
impl<'a> QueryWindow<'a>
Sourcepub const fn since(tick: ChangeTick) -> Self
pub const fn since(tick: ChangeTick) -> Self
Explicit half-open added/changed window.
Sourcepub fn cursor(cursor: &mut QueryCursor) -> QueryWindow<'_>
pub fn cursor(cursor: &mut QueryCursor) -> QueryWindow<'_>
Cursor-backed added/changed window for repeated traversals.
Auto Trait Implementations§
impl<'a> !UnwindSafe for QueryWindow<'a>
impl<'a> Freeze for QueryWindow<'a>
impl<'a> RefUnwindSafe for QueryWindow<'a>
impl<'a> Send for QueryWindow<'a>
impl<'a> Sync for QueryWindow<'a>
impl<'a> Unpin for QueryWindow<'a>
impl<'a> UnsafeUnpin for QueryWindow<'a>
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