pub struct AccountsIndexConfig {
pub bins: Option<usize>,
pub flush_threads: Option<usize>,
pub drives: Option<Vec<PathBuf>>,
pub index_limit_mb: IndexLimitMb,
pub ages_to_stay_in_cache: Option<Age>,
pub scan_results_limit_bytes: Option<usize>,
pub started_from_validator: bool,
}
Fields§
§bins: Option<usize>
§flush_threads: Option<usize>
§drives: Option<Vec<PathBuf>>
§index_limit_mb: IndexLimitMb
§ages_to_stay_in_cache: Option<Age>
§scan_results_limit_bytes: Option<usize>
§started_from_validator: bool
true if the accounts index is being created as a result of being started as a validator (as opposed to test, etc.)
Trait Implementations§
source§impl Clone for AccountsIndexConfig
impl Clone for AccountsIndexConfig
source§fn clone(&self) -> AccountsIndexConfig
fn clone(&self) -> AccountsIndexConfig
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 AccountsIndexConfig
impl Debug for AccountsIndexConfig
source§impl Default for AccountsIndexConfig
impl Default for AccountsIndexConfig
source§fn default() -> AccountsIndexConfig
fn default() -> AccountsIndexConfig
Returns the “default value” for a type. Read more