pub struct SelftestCheck {
pub row: OverflowProofRow,
pub tier: KernelTier,
pub contract: DotContract,
pub accumulator_i32: Option<i32>,
pub reference_i64: i64,
pub passed: bool,
}Expand description
One completed proof result.
Fields§
§row: OverflowProofRowRow selected from OVERFLOW_PROOF_ROWS.
tier: KernelTierRoute that executed the check.
contract: DotContractNumeric contract this check exercised.
accumulator_i32: Option<i32>Accumulation performed by that route using all-extreme operands.
None means the route overflowed before producing an i32 result; that is a failed proof,
not a panic or an implicitly widened success.
reference_i64: i64Independent widened reference for the same dot product.
passed: boolWhether the route retained exact i32 equality and fit in range.
Trait Implementations§
Source§impl Clone for SelftestCheck
impl Clone for SelftestCheck
Source§fn clone(&self) -> SelftestCheck
fn clone(&self) -> SelftestCheck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelftestCheck
Source§impl Debug for SelftestCheck
impl Debug for SelftestCheck
impl Eq for SelftestCheck
Source§impl PartialEq for SelftestCheck
impl PartialEq for SelftestCheck
impl StructuralPartialEq for SelftestCheck
Auto Trait Implementations§
impl Freeze for SelftestCheck
impl RefUnwindSafe for SelftestCheck
impl Send for SelftestCheck
impl Sync for SelftestCheck
impl Unpin for SelftestCheck
impl UnsafeUnpin for SelftestCheck
impl UnwindSafe for SelftestCheck
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