pub enum IdList {
AllIds,
Partial(IDLBitRange),
PartialThreshold(IDLBitRange),
Indexed(IDLBitRange),
}
Expand description
The result of a key value request containing the list of entry IDs that match the filter/query condition.
Variants§
AllIds
The value is not indexed, and must be assumed that all entries may match.
Partial(IDLBitRange)
The index is “fuzzy” like a bloom filter (perhaps superset is a better description) - it containes all elements that do match, but may have extra elements that don’t. This requires the caller to perform a filter test to assert that all returned entries match all assertions within the filter.
PartialThreshold(IDLBitRange)
The set was indexed and is below the filter test threshold. This is because it’s now faster to test with the filter than to continue to access indexes at this point. Like a partial set, this is a super set of the entries that match the query.
Indexed(IDLBitRange)
The value is indexed and accurately represents the set of entries that precisely match.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IdList
impl RefUnwindSafe for IdList
impl Send for IdList
impl Sync for IdList
impl Unpin for IdList
impl UnwindSafe for IdList
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request