heed::iteration_method

Trait IterationMethod

Source
pub trait IterationMethod {
    const MOVE_OPERATION: MoveOperation;
}
Expand description

The trait used to define the way iterators behave.

Required Associated Constants§

Source

const MOVE_OPERATION: MoveOperation

The internal operation to move the cursor through entries.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl IterationMethod for MoveBetweenKeys

Source§

const MOVE_OPERATION: MoveOperation = MoveOperation::NoDup

Source§

impl IterationMethod for MoveOnCurrentKeyDuplicates

Source§

const MOVE_OPERATION: MoveOperation = MoveOperation::Dup

Source§

impl IterationMethod for MoveThroughDuplicateValues

Source§

const MOVE_OPERATION: MoveOperation = MoveOperation::Any