#[repr(C)]pub enum LsmCursorSeekOp {
LsmCursorSeekLe = -1,
LsmCursorSeekEq = 0,
LsmCursorSeekGe = 1,
}
Expand description
These are the different seek operations of a cursor.
Variants§
LsmCursorSeekLe = -1
When seeking with a LsmCursor
using this mode, the cursor
is positioned on the record indexed by the given key if found, or the
record right before it in the total order of keys (as per memcmp
).
If the database contains no such record, the cursor is left at EOF.
LsmCursorSeekEq = 0
When seeking with a LsmCursor
using the mode, the cursor
is positioned on the record indexed by the given key if found, or
at EOF if such record does not exist in the database.
LsmCursorSeekGe = 1
When seeking with a LsmCursor
using this mode, the cursor
is positioned on the record indexed by the given key if found, or the
record right after it in the total order of keys (as per memcmp
).
If the database contains no such record, the cursor is left at EOF.
Trait Implementations§
Source§impl Clone for LsmCursorSeekOp
impl Clone for LsmCursorSeekOp
Source§fn clone(&self) -> LsmCursorSeekOp
fn clone(&self) -> LsmCursorSeekOp
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more