pub trait IterateBounds {
    fn into_bounds(self) -> (Option<Vec<u8>>, Option<Vec<u8>>);
}
Expand description

A range which can be set as iterate bounds on crate::ReadOptions.

See crate::ReadOptions::set_iterate_range for documentation and examples.

Required Methods

Converts object into lower and upper bounds pair.

If this object represents range with one of the bounds unset, corresponding element is returned as None. For example, ..upper range would be converted into (None, Some(upper)) pair.

Implementations on Foreign Types

Implementors