Enum solana_runtime::snapshot_utils::VerifyBank
source · pub enum VerifyBank {
Deterministic,
NonDeterministic(Slot),
}
Expand description
allow tests to specify what happened to the serialized format
Variants§
Deterministic
the bank’s serialized format is expected to be identical to what we are comparing against
NonDeterministic(Slot)
the serialized bank was ‘reserialized’ into a non-deterministic format at the specified slot so, deserialize both files and compare deserialized results
Trait Implementations§
source§impl Clone for VerifyBank
impl Clone for VerifyBank
source§fn clone(&self) -> VerifyBank
fn clone(&self) -> VerifyBank
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more