pub(crate) enum BytesHighEndpointWithContinuation {
RangeInclusive(Bytes),
RangeExclusive(Bytes),
Continuation(Bytes),
End(Option<Bytes>),
}
Expand description
High endpoint with continuation of a key (represented using
Bytes
).
BytesHighEndpointWithContinuation::Continuation
arises during a
reverse scan.
You cannot have a situation where you have
BytesLowEndpointWithContinuation::Continuation
and
BytesHighEndpointWithContinuation::Continuation
at the same
time.
Variants§
RangeInclusive(Bytes)
Includes endpoint value.
RangeExclusive(Bytes)
Excludes endpoint value.
Continuation(Bytes)
Represents a continuation.
End(Option<Bytes>)
End of a range. End(None)
indicates the very end of the FDB
range. End(Some(subspace))
, indicate the end of the
subspace.
Auto Trait Implementations§
impl RefUnwindSafe for BytesHighEndpointWithContinuation
impl Send for BytesHighEndpointWithContinuation
impl Sync for BytesHighEndpointWithContinuation
impl Unpin for BytesHighEndpointWithContinuation
impl UnwindSafe for BytesHighEndpointWithContinuation
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