Struct solana_runtime::bank_forks::SnapshotConfig
source · [−]pub struct SnapshotConfig {
pub snapshot_interval_slots: u64,
pub snapshot_package_output_path: PathBuf,
pub snapshot_path: PathBuf,
pub archive_format: ArchiveFormat,
pub snapshot_version: SnapshotVersion,
pub maximum_snapshots_to_retain: usize,
pub packager_thread_niceness_adj: i8,
}
Fields
snapshot_interval_slots: u64
snapshot_package_output_path: PathBuf
snapshot_path: PathBuf
archive_format: ArchiveFormat
snapshot_version: SnapshotVersion
maximum_snapshots_to_retain: usize
packager_thread_niceness_adj: i8
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SnapshotConfig
impl Send for SnapshotConfig
impl Sync for SnapshotConfig
impl Unpin for SnapshotConfig
impl UnwindSafe for SnapshotConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more