pub struct LeafStats {
pub leaf: Leaf,
pub runs: u32,
pub passed: u32,
pub wrong: u32,
pub errored: u32,
pub first_failure: Option<String>,
pub ops: BTreeMap<&'static str, OpCount>,
}Expand description
The result of running one leaf’s test runs times on a target.
Fields§
§leaf: LeafThe leaf.
runs: u32Times the test ran.
passed: u32Runs that passed.
wrong: u32Runs where the backend returned something the contract forbids.
errored: u32Runs where the backend errored (including Unsupported) before the test could decide.
first_failure: Option<String>The first failing run’s text, if any.
ops: BTreeMap<&'static str, OpCount>What each operation did across all the runs.
Implementations§
Trait Implementations§
impl Eq for LeafStats
impl StructuralPartialEq for LeafStats
Auto Trait Implementations§
impl Freeze for LeafStats
impl RefUnwindSafe for LeafStats
impl Send for LeafStats
impl Sync for LeafStats
impl Unpin for LeafStats
impl UnsafeUnpin for LeafStats
impl UnwindSafe for LeafStats
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