pub struct EncodedKeyRange {
pub start: Bound<EncodedKey>,
pub end: Bound<EncodedKey>,
}Fields§
§start: Bound<EncodedKey>§end: Bound<EncodedKey>Implementations§
Source§impl EncodedKeyRange
impl EncodedKeyRange
pub fn new(start: Bound<EncodedKey>, end: Bound<EncodedKey>) -> Self
pub fn prefix(prefix: &[u8]) -> Self
pub fn with_prefix(&self, prefix: EncodedKey) -> Self
pub fn start_end(start: Option<EncodedKey>, end: Option<EncodedKey>) -> Self
pub fn all() -> Self
pub fn parse(str: &str) -> Self
Trait Implementations§
Source§impl Clone for EncodedKeyRange
impl Clone for EncodedKeyRange
Source§fn clone(&self) -> EncodedKeyRange
fn clone(&self) -> EncodedKeyRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncodedKeyRange
impl Debug for EncodedKeyRange
Source§impl From<EncodedIndexKeyRange> for EncodedKeyRange
impl From<EncodedIndexKeyRange> for EncodedKeyRange
Source§fn from(range: EncodedIndexKeyRange) -> Self
fn from(range: EncodedIndexKeyRange) -> Self
Converts to this type from the input type.
Source§impl RangeBounds<EncodedKey> for EncodedKeyRange
impl RangeBounds<EncodedKey> for EncodedKeyRange
Auto Trait Implementations§
impl Freeze for EncodedKeyRange
impl RefUnwindSafe for EncodedKeyRange
impl Send for EncodedKeyRange
impl Sync for EncodedKeyRange
impl Unpin for EncodedKeyRange
impl UnsafeUnpin for EncodedKeyRange
impl UnwindSafe for EncodedKeyRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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