pub enum HandlerIndexDirection {
First,
Next,
Prev,
Last,
}Expand description
The traversal direction of an indexed HANDLER … READ <index> { FIRST | NEXT | PREV | LAST } (HandlerReadSelector::Index) — the handler_rkey_function set, which adds
PREV/LAST over HandlerScanDirection. A surface tag (no meta).
Variants§
First
FIRST — the first row by the index’s key order.
Next
NEXT — the next row in index order.
Prev
PREV — the previous row in index order.
Last
LAST — the last row by the index’s key order.
Trait Implementations§
Source§impl Clone for HandlerIndexDirection
impl Clone for HandlerIndexDirection
Source§fn clone(&self) -> HandlerIndexDirection
fn clone(&self) -> HandlerIndexDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HandlerIndexDirection
Source§impl Debug for HandlerIndexDirection
impl Debug for HandlerIndexDirection
Source§impl<'de> Deserialize<'de> for HandlerIndexDirection
impl<'de> Deserialize<'de> for HandlerIndexDirection
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 HandlerIndexDirection
Source§impl Hash for HandlerIndexDirection
impl Hash for HandlerIndexDirection
Source§impl PartialEq for HandlerIndexDirection
impl PartialEq for HandlerIndexDirection
Source§impl Serialize for HandlerIndexDirection
impl Serialize for HandlerIndexDirection
impl StructuralPartialEq for HandlerIndexDirection
Auto Trait Implementations§
impl Freeze for HandlerIndexDirection
impl RefUnwindSafe for HandlerIndexDirection
impl Send for HandlerIndexDirection
impl Sync for HandlerIndexDirection
impl Unpin for HandlerIndexDirection
impl UnsafeUnpin for HandlerIndexDirection
impl UnwindSafe for HandlerIndexDirection
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