Trait bonsaidb::core::key::IntoPrefixRange
pub trait IntoPrefixRange<'a, TOwned>: PartialEq<Self>where
TOwned: Borrow<Self> + PartialEq<Self>,{
// Required method
fn to_prefix_range(&'a self) -> RangeRef<'a, TOwned, Self>;
}
Expand description
A type that can be used as a prefix range in range-based queries.
Required Methods§
fn to_prefix_range(&'a self) -> RangeRef<'a, TOwned, Self>
fn to_prefix_range(&'a self) -> RangeRef<'a, TOwned, Self>
Returns the value as a prefix-range, which will match all values that
start with self
.