Enum kv::CursorOp

source ·
pub enum CursorOp {
    First,
    Current,
    Last,
    Next,
    Prev,
    Set,
    SetRange,
}
Expand description

CursorOp provides the ability to specify the position of a cursor

Variants§

§

First

Set the cursor to the first position

§

Current

Get the key/value for the current position

§

Last

Set the cursor to the last position

§

Next

Move the cursor to the next position

§

Prev

Move the cursor to the previous position

§

Set

Set the cursor to the specified key

§

SetRange

Set the cursor to the first key greater than or equal to specified key

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.