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§