pub enum GateDetail {
Validate {
contracts: usize,
errors: usize,
warnings: usize,
error_messages: Vec<String>,
},
Audit {
contracts: usize,
findings: usize,
finding_messages: Vec<String>,
},
Score {
contracts: usize,
min_score: f64,
mean_score: f64,
threshold: f64,
below_threshold: Vec<String>,
},
Verify {
total_refs: usize,
existing: usize,
missing: usize,
},
Enforce {
equations_total: usize,
equations_with_pre: usize,
equations_with_post: usize,
equations_with_lean: usize,
},
ReverseCoverage {
total_pub_fns: usize,
bound_fns: usize,
unbound_fns: usize,
coverage_pct: f64,
threshold_pct: f64,
},
Composition {
edges_checked: usize,
edges_satisfied: usize,
edges_broken: usize,
},
Skipped {
reason: String,
},
}Expand description
Gate-specific detail payload.
Variants§
Trait Implementations§
Source§impl Clone for GateDetail
impl Clone for GateDetail
Source§fn clone(&self) -> GateDetail
fn clone(&self) -> GateDetail
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 moreSource§impl Debug for GateDetail
impl Debug for GateDetail
Auto Trait Implementations§
impl Freeze for GateDetail
impl RefUnwindSafe for GateDetail
impl Send for GateDetail
impl Sync for GateDetail
impl Unpin for GateDetail
impl UnsafeUnpin for GateDetail
impl UnwindSafe for GateDetail
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