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
sourceimpl Clone for AccountsIndexConfig
impl Clone for AccountsIndexConfig
sourcefn clone(&self) -> AccountsIndexConfig
fn clone(&self) -> AccountsIndexConfig
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 AccountsIndexConfig
impl Debug for AccountsIndexConfig
sourceimpl Default for AccountsIndexConfig
impl Default for AccountsIndexConfig
sourcefn default() -> AccountsIndexConfig
fn default() -> AccountsIndexConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for AccountsIndexConfig
impl Send for AccountsIndexConfig
impl Sync for AccountsIndexConfig
impl Unpin for AccountsIndexConfig
impl UnwindSafe for AccountsIndexConfig
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