pub enum IndexLimitMb {
Unspecified,
Limit(usize),
InMemOnly,
}
Expand description
specification of how much memory in-mem portion of account index can use
Variants
Unspecified
nothing explicit specified, so default
Limit(usize)
limit was specified, use disk index for rest
InMemOnly
in-mem-only was specified, no disk index
Trait Implementations
sourceimpl Clone for IndexLimitMb
impl Clone for IndexLimitMb
sourcefn clone(&self) -> IndexLimitMb
fn clone(&self) -> IndexLimitMb
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for IndexLimitMb
impl Debug for IndexLimitMb
Auto Trait Implementations
impl RefUnwindSafe for IndexLimitMb
impl Send for IndexLimitMb
impl Sync for IndexLimitMb
impl Unpin for IndexLimitMb
impl UnwindSafe for IndexLimitMb
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more