pub struct SnapshotValidatorConfig {
pub bank_snapshots_dir: TempDir,
pub full_snapshot_archives_dir: TempDir,
pub incremental_snapshot_archives_dir: TempDir,
pub account_storage_dirs: Vec<TempDir>,
pub validator_config: ValidatorConfig,
}
Fields§
§bank_snapshots_dir: TempDir
§full_snapshot_archives_dir: TempDir
§incremental_snapshot_archives_dir: TempDir
§account_storage_dirs: Vec<TempDir>
§validator_config: ValidatorConfig
Implementations§
source§impl SnapshotValidatorConfig
impl SnapshotValidatorConfig
pub fn new( full_snapshot_archive_interval_slots: Slot, incremental_snapshot_archive_interval_slots: Slot, accounts_hash_interval_slots: Slot, num_account_paths: usize ) -> SnapshotValidatorConfig
Auto Trait Implementations§
impl !RefUnwindSafe for SnapshotValidatorConfig
impl Send for SnapshotValidatorConfig
impl Sync for SnapshotValidatorConfig
impl Unpin for SnapshotValidatorConfig
impl !UnwindSafe for SnapshotValidatorConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request