Skip to main content

BlobIndexIter

Struct BlobIndexIter 

Source
pub struct BlobIndexIter<'a> { /* private fields */ }
Expand description

Prefix iterator over a column family.

Implementations§

Source§

impl Iter<'_>

Source

pub fn is_valid(&self) -> bool

Whether the iterator is positioned at a valid entry.

Source

pub fn status(&self) -> Result<(), StorageError>

Propagate iterator status errors.

Source

pub fn next(&mut self)

Advance to the next key.

Source

pub fn seek(&mut self, key: &[u8])

Jump to the first key >= key on this iterator (does not recreate it).

The iterate upper bound from [Db::scan_prefix_from] still applies: seeking past that bound leaves the iterator invalid.

Source

pub fn key(&self) -> Option<&[u8]>

Current key bytes, if valid.

Source

pub fn value(&self) -> Option<&[u8]>

Current value bytes, if valid (same cursor — no second Get).

Trait Implementations§

Source§

impl Drop for Iter<'_>

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl Send for Iter<'_>

Auto Trait Implementations§

§

impl<'a> Freeze for Iter<'a>

§

impl<'a> RefUnwindSafe for Iter<'a>

§

impl<'a> !Sync for Iter<'a>

§

impl<'a> Unpin for Iter<'a>

§

impl<'a> UnsafeUnpin for Iter<'a>

§

impl<'a> UnwindSafe for Iter<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,