Struct stacks_rpc_client::clarity::vm::coverage::CoverageReporter
pub struct CoverageReporter { /* private fields */ }
Implementations§
§impl CoverageReporter
impl CoverageReporter
pub fn new() -> CoverageReporter
pub fn report_eval( &mut self, expr: &SymbolicExpression, contract: &QualifiedContractIdentifier )
pub fn to_file<P>(&self, filename: P) -> Result<(), Error>where P: AsRef<Path> + Copy,
pub fn register_src_file<P>( contract: &QualifiedContractIdentifier, src_file_name: &str, ast: &[SymbolicExpression], filename: P ) -> Result<(), Error>where P: AsRef<Path> + Copy,
pub fn produce_lcov<P>( out_filename: &str, register_files: &[P], coverage_files: &[P] ) -> Result<(), Error>where P: AsRef<Path>,
Trait Implementations§
§impl EvalHook for CoverageReporter
impl EvalHook for CoverageReporter
fn will_begin_eval( &mut self, env: &mut Environment<'_, '_, '_>, _context: &LocalContext<'_>, expr: &SymbolicExpression )
fn did_finish_eval( &mut self, _env: &mut Environment<'_, '_, '_>, _context: &LocalContext<'_>, _expr: &SymbolicExpression, _res: &Result<Value, Error> )
fn did_complete(&mut self, _result: Result<&mut ExecutionResult, String>)
Auto Trait Implementations§
impl RefUnwindSafe for CoverageReporter
impl Send for CoverageReporter
impl Sync for CoverageReporter
impl Unpin for CoverageReporter
impl UnwindSafe for CoverageReporter
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