Struct dharitri_wasm_debug::world_mock::ContractMap
source · pub struct ContractMap { /* private fields */ }Implementations§
source§impl ContractMap
impl ContractMap
pub fn new() -> Self
pub fn get_contract( &self, contract_identifier: &[u8], _debug_api: DebugApi ) -> &ContractContainer
pub fn register_contract( &mut self, contract_bytes: Vec<u8>, contract_container: ContractContainer )
pub fn contains_contract(&self, contract_bytes: &[u8]) -> bool
Trait Implementations§
source§impl Debug for ContractMap
impl Debug for ContractMap
Auto Trait Implementations§
impl !CodecFromSelf for ContractMap
impl !RefUnwindSafe for ContractMap
impl !Send for ContractMap
impl !Sync for ContractMap
impl Unpin for ContractMap
impl !UnwindSafe for ContractMap
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