pub enum ScanOrder {
Storage,
TimestampAscending,
TimestampDescending,
}Expand description
Deterministic ordering used by Store::scan_documents.
Variants§
Storage
Immutable segments in snapshot order and then the active segment, with ascending row numbers inside every source.
TimestampAscending
Ascending timestamp with ascending document id as the tie breaker.
TimestampDescending
Descending timestamp with ascending document id as the tie breaker.
Trait Implementations§
impl Copy for ScanOrder
impl Eq for ScanOrder
impl StructuralPartialEq for ScanOrder
Auto Trait Implementations§
impl Freeze for ScanOrder
impl RefUnwindSafe for ScanOrder
impl Send for ScanOrder
impl Sync for ScanOrder
impl Unpin for ScanOrder
impl UnsafeUnpin for ScanOrder
impl UnwindSafe for ScanOrder
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