pub enum ScanFilter {
All,
OnlyAbnormal,
OnlyAbnormalWithVerify,
OnlyAbnormalTest,
}๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
which accounts scan should load from disk
Variantsยง
All
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Scan both in-memory and on-disk index
OnlyAbnormal
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.abnormal = ref_count != 1 or slot list.len() != 1 Scan only in-memory index and skip on-disk index
OnlyAbnormalWithVerify
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Similar to `OnlyAbnormal but also check on-disk index to verify the entry on-disk is indeed normal.
OnlyAbnormalTest
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Similar to `OnlyAbnormal but mark entries in memory as not found if they are normal This removes the possibility of any race conditions with index flushing and simulates the system running an uncached disk index where nothing โnormalโ is ever held in the in memory index as far as callers are concerned. This could also be a correct/ideal future api to similarly provide consistency and remove race condition behavior.
Trait Implementationsยง
Sourceยงimpl Clone for ScanFilter
impl Clone for ScanFilter
Sourceยงfn clone(&self) -> ScanFilter
fn clone(&self) -> ScanFilter
Returns a duplicate of the value. Read more
1.0.0 ยท 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 ScanFilter
impl Debug for ScanFilter
Sourceยงimpl Default for ScanFilter
impl Default for ScanFilter
Sourceยงfn default() -> ScanFilter
fn default() -> ScanFilter
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl PartialEq for ScanFilter
impl PartialEq for ScanFilter
impl Copy for ScanFilter
impl Eq for ScanFilter
impl StructuralPartialEq for ScanFilter
Auto Trait Implementationsยง
impl Freeze for ScanFilter
impl RefUnwindSafe for ScanFilter
impl Send for ScanFilter
impl Sync for ScanFilter
impl Unpin for ScanFilter
impl UnwindSafe for ScanFilter
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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