Trait SeekablePooledIterator

Source
pub trait SeekablePooledIterator<Key, Cmp>
where Key: ?Sized, Cmp: ?Sized + Comparator<Key>, Self: CursorPooledIterator + Seekable<Key, Cmp>,
{ }
Expand description

A PooledIterator with cursor methods from CursorPooledIterator and the ability to seek from Seekable.

The iterator is similar to a lending iterator (which can lend one item at a time), but can make use of a buffer pool to lend out multiple items at a time.

See CursorPooledIterator for more.

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<Key, Cmp, I> SeekablePooledIterator<Key, Cmp> for I
where Key: ?Sized, Cmp: ?Sized + Comparator<Key>, I: CursorPooledIterator + Seekable<Key, Cmp>,