pub struct StandardMultiStore(/* private fields */);Implementations§
Source§impl StandardMultiStore
impl StandardMultiStore
pub fn range_next( &self, cursor: &mut MultiVersionRangeCursor, range: EncodedKeyRange, version: CommitVersion, batch_size: u64, ) -> Result<MultiVersionBatch>
pub fn range( &self, range: EncodedKeyRange, version: CommitVersion, batch_size: usize, ) -> MultiVersionRangeIter ⓘ
pub fn range_rev( &self, range: EncodedKeyRange, version: CommitVersion, batch_size: usize, ) -> MultiVersionRangeRevIter ⓘ
Source§impl StandardMultiStore
impl StandardMultiStore
pub fn new(config: MultiStoreConfig) -> Result<Self>
pub fn buffer(&self) -> Option<&MultiBufferTier>
pub fn persistent(&self) -> Option<&MultiPersistentTier>
pub fn flush_pending_blocking(&self)
Source§impl StandardMultiStore
impl StandardMultiStore
pub fn testing_memory() -> Self
pub fn testing_memory_with_eventbus(event_bus: EventBus) -> Self
pub fn testing_memory_with_persistent_sqlite() -> Self
pub fn testing_memory_with_persistent_sqlite_with_eventbus( event_bus: EventBus, ) -> Self
Trait Implementations§
Source§impl Clone for StandardMultiStore
impl Clone for StandardMultiStore
Source§fn clone(&self) -> StandardMultiStore
fn clone(&self) -> StandardMultiStore
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 Deref for StandardMultiStore
impl Deref for StandardMultiStore
Source§impl MultiVersionContains for StandardMultiStore
impl MultiVersionContains for StandardMultiStore
fn contains(&self, key: &EncodedKey, version: CommitVersion) -> Result<bool>
Source§impl MultiVersionGet for StandardMultiStore
impl MultiVersionGet for StandardMultiStore
fn get( &self, key: &EncodedKey, version: CommitVersion, ) -> Result<Option<MultiVersionRow>>
Source§impl MultiVersionGetPrevious for StandardMultiStore
impl MultiVersionGetPrevious for StandardMultiStore
fn get_previous_version( &self, key: &EncodedKey, before_version: CommitVersion, ) -> Result<Option<MultiVersionRow>>
impl MultiVersionStore for StandardMultiStore
Auto Trait Implementations§
impl Freeze for StandardMultiStore
impl !RefUnwindSafe for StandardMultiStore
impl Send for StandardMultiStore
impl Sync for StandardMultiStore
impl Unpin for StandardMultiStore
impl UnsafeUnpin for StandardMultiStore
impl !UnwindSafe for StandardMultiStore
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