Enum solana_runtime::snapshot_utils::VerifyBank
source · pub enum VerifyBank {
Deterministic,
NonDeterministic,
}
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
the serialized bank was ‘reserialized’ into a non-deterministic format 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 moresource§impl Debug for VerifyBank
impl Debug for VerifyBank
impl Copy for VerifyBank
Auto Trait Implementations§
impl RefUnwindSafe for VerifyBank
impl Send for VerifyBank
impl Sync for VerifyBank
impl Unpin for VerifyBank
impl UnwindSafe for VerifyBank
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more