pub struct AccountsDbConfig {
pub index: Option<AccountsIndexConfig>,
pub base_working_path: Option<PathBuf>,
pub accounts_hash_cache_path: Option<PathBuf>,
pub write_cache_limit_bytes: Option<u64>,
pub ancient_append_vec_offset: Option<i64>,
pub test_skip_rewrites_but_include_in_bank_hash: bool,
pub skip_initial_hash_calc: bool,
pub exhaustively_verify_refcounts: bool,
pub create_ancient_storage: CreateAncientStorage,
pub test_partitioned_epoch_rewards: TestPartitionedEpochRewards,
}
Fields§
§index: Option<AccountsIndexConfig>
§base_working_path: Option<PathBuf>
Base directory for various necessary files
accounts_hash_cache_path: Option<PathBuf>
§write_cache_limit_bytes: Option<u64>
§ancient_append_vec_offset: Option<i64>
if None, ancient append vecs are set to ANCIENT_APPEND_VEC_DEFAULT_OFFSET Some(offset) means include slots up to (max_slot - (slots_per_epoch - ‘offset’))
test_skip_rewrites_but_include_in_bank_hash: bool
§skip_initial_hash_calc: bool
§exhaustively_verify_refcounts: bool
§create_ancient_storage: CreateAncientStorage
how to create ancient storages
test_partitioned_epoch_rewards: TestPartitionedEpochRewards
Trait Implementations§
source§impl Clone for AccountsDbConfig
impl Clone for AccountsDbConfig
source§fn clone(&self) -> AccountsDbConfig
fn clone(&self) -> AccountsDbConfig
Returns a copy 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 AccountsDbConfig
impl Debug for AccountsDbConfig
source§impl Default for AccountsDbConfig
impl Default for AccountsDbConfig
source§fn default() -> AccountsDbConfig
fn default() -> AccountsDbConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccountsDbConfig
impl RefUnwindSafe for AccountsDbConfig
impl Send for AccountsDbConfig
impl Sync for AccountsDbConfig
impl Unpin for AccountsDbConfig
impl UnwindSafe for AccountsDbConfig
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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