Struct move_coverage::coverage_map::ExecCoverageMap
source · pub struct ExecCoverageMap {
pub exec_id: String,
pub module_maps: BTreeMap<(AccountAddress, Identifier), ModuleCoverageMap>,
}
Fields§
§exec_id: String
§module_maps: BTreeMap<(AccountAddress, Identifier), ModuleCoverageMap>
Implementations§
source§impl ExecCoverageMap
impl ExecCoverageMap
pub fn new(exec_id: String) -> Self
pub fn insert_multi( &mut self, module_addr: AccountAddress, module_name: Identifier, func_name: Identifier, pc: u64, count: u64 )
pub fn insert( &mut self, module_addr: AccountAddress, module_name: Identifier, func_name: Identifier, pc: u64 )
pub fn into_coverage_map_with_modules( self, modules: BTreeMap<AccountAddress, BTreeMap<Identifier, (String, CompiledModule)>> ) -> ExecCoverageMapWithModules
Trait Implementations§
source§impl Debug for ExecCoverageMap
impl Debug for ExecCoverageMap
source§impl<'de> Deserialize<'de> for ExecCoverageMap
impl<'de> Deserialize<'de> for ExecCoverageMap
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more