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 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