pub struct RangeFilter<Record> { /* private fields */ }Expand description
A type-checked ordered predicate over canonical visible field values.
Implementations§
Source§impl<Record> RangeFilter<Record>
impl<Record> RangeFilter<Record>
Sourcepub const fn operator(&self) -> RangeOperator
pub const fn operator(&self) -> RangeOperator
Returns the comparison operator.
Sourcepub fn encoded_bound(&self) -> Result<&[u8], &RecordError>
pub fn encoded_bound(&self) -> Result<&[u8], &RecordError>
Returns the canonical bound or its deferred codec failure.
Trait Implementations§
Source§impl<Record> Debug for RangeFilter<Record>
impl<Record> Debug for RangeFilter<Record>
Source§impl<Record> From<RangeFilter<Record>> for Predicate<Record>
impl<Record> From<RangeFilter<Record>> for Predicate<Record>
Source§fn from(value: RangeFilter<Record>) -> Self
fn from(value: RangeFilter<Record>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Record> Freeze for RangeFilter<Record>
impl<Record> !RefUnwindSafe for RangeFilter<Record>
impl<Record> Send for RangeFilter<Record>
impl<Record> Sync for RangeFilter<Record>
impl<Record> Unpin for RangeFilter<Record>
impl<Record> !UnwindSafe for RangeFilter<Record>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more