Enum kv::Cursor [] [src]

pub enum Cursor<'a, K, V> {
    ReadOnly(RoCursor<'a>),
    ReadWrite(RwCursor<'a>),
    Phantom(Hidden<K, V>),
}

Iterable access to the database

Variants

Readonly access

Read-write access

Type information

Methods

impl<'a, K: Key, V: Value<'a>> Cursor<'a, K, V>
[src]

[src]

Returns true when the transaction is ReadOnly

[src]

Iterate over all key/value pairs

[src]

Iterate over key/values pairs starting at key

[src]

Insert a value at the current position

[src]

Insert a value at the current position

[src]

Get a value from the cursor

Trait Implementations

Auto Trait Implementations

impl<'a, K, V> !Send for Cursor<'a, K, V>

impl<'a, K, V> !Sync for Cursor<'a, K, V>