Trait bonsaidb_core::key::IntoPrefixRange
source · pub trait IntoPrefixRange<'a, TOwned>: PartialEq{
// 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§
sourcefn 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
.
Object Safety§
This trait is not object safe.