solana_runtime::snapshot_archive_info

Trait SnapshotArchiveInfoGetter

source
pub trait SnapshotArchiveInfoGetter {
    // Required method
    fn snapshot_archive_info(&self) -> &SnapshotArchiveInfo;

    // Provided methods
    fn path(&self) -> &PathBuf { ... }
    fn slot(&self) -> Slot { ... }
    fn hash(&self) -> &SnapshotHash { ... }
    fn archive_format(&self) -> ArchiveFormat { ... }
    fn is_remote(&self) -> bool { ... }
}
Expand description

Trait to query the snapshot archive information

Required Methods§

Provided Methods§

source

fn path(&self) -> &PathBuf

source

fn slot(&self) -> Slot

source

fn hash(&self) -> &SnapshotHash

source

fn archive_format(&self) -> ArchiveFormat

source

fn is_remote(&self) -> bool

Implementors§