Struct solana_runtime::snapshot_utils::BankSnapshotInfo
source · pub struct BankSnapshotInfo {
pub slot: Slot,
pub snapshot_path: PathBuf,
pub snapshot_type: BankSnapshotType,
}
Expand description
Information about a bank snapshot. Namely the slot of the bank, the path to the snapshot, and the type of the snapshot.
Fields§
§slot: Slot
Slot of the bank
snapshot_path: PathBuf
Path to the snapshot
snapshot_type: BankSnapshotType
Type of the snapshot
Trait Implementations§
source§impl Debug for BankSnapshotInfo
impl Debug for BankSnapshotInfo
source§impl Ord for BankSnapshotInfo
impl Ord for BankSnapshotInfo
source§impl PartialEq<BankSnapshotInfo> for BankSnapshotInfo
impl PartialEq<BankSnapshotInfo> for BankSnapshotInfo
source§fn eq(&self, other: &BankSnapshotInfo) -> bool
fn eq(&self, other: &BankSnapshotInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BankSnapshotInfo> for BankSnapshotInfo
impl PartialOrd<BankSnapshotInfo> for BankSnapshotInfo
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BankSnapshotInfo
impl StructuralEq for BankSnapshotInfo
impl StructuralPartialEq for BankSnapshotInfo
Auto Trait Implementations§
impl RefUnwindSafe for BankSnapshotInfo
impl Send for BankSnapshotInfo
impl Sync for BankSnapshotInfo
impl Unpin for BankSnapshotInfo
impl UnwindSafe for BankSnapshotInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.