pub struct PartitionedSeriesRowKeyRange {
pub storage: StorageId,
pub partition: Partition,
pub variant_tag: Option<u8>,
pub key_start: Option<u64>,
pub key_end: Option<u64>,
}Fields§
§storage: StorageId§partition: Partition§variant_tag: Option<u8>§key_start: Option<u64>§key_end: Option<u64>Implementations§
Source§impl PartitionedSeriesRowKeyRange
impl PartitionedSeriesRowKeyRange
pub fn storage_start(storage: impl Into<StorageId>) -> EncodedKey
pub fn storage_end(storage: impl Into<StorageId>) -> EncodedKey
pub fn full_scan(storage: impl Into<StorageId>) -> TaggedKeyBoundRange
pub fn full_scan_range( storage: impl Into<StorageId>, last: Option<&TaggedKey>, ) -> TaggedKeyBoundRange
pub fn partition_range( storage: impl Into<StorageId>, partition: Partition, ) -> TaggedKeyBoundRange
pub fn partition_scan_range( storage: impl Into<StorageId>, partition: Partition, last: Option<&TaggedKey>, ) -> TaggedKeyBoundRange
pub fn scan_range( storage: impl Into<StorageId>, partition: Partition, variant_tag: Option<u8>, key_start: Option<u64>, key_end: Option<u64>, last: Option<&TaggedKey>, ) -> TaggedKeyBoundRange
pub fn decode_storage(key: &EncodedKey) -> Option<StorageId>
pub fn decode(range: &EncodedKeyRange) -> (Option<StorageId>, Option<StorageId>)
Trait Implementations§
Source§impl Clone for PartitionedSeriesRowKeyRange
impl Clone for PartitionedSeriesRowKeyRange
Source§fn clone(&self) -> PartitionedSeriesRowKeyRange
fn clone(&self) -> PartitionedSeriesRowKeyRange
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 moreAuto Trait Implementations§
impl Freeze for PartitionedSeriesRowKeyRange
impl RefUnwindSafe for PartitionedSeriesRowKeyRange
impl Send for PartitionedSeriesRowKeyRange
impl Sync for PartitionedSeriesRowKeyRange
impl Unpin for PartitionedSeriesRowKeyRange
impl UnsafeUnpin for PartitionedSeriesRowKeyRange
impl UnwindSafe for PartitionedSeriesRowKeyRange
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