Function hdi::hdi::set_hdi

source ·
pub fn set_hdi<H: 'static>(hdi: H) -> Rc<dyn HdiT>where
    H: HdiT,
Expand description

At any time the global HDI can be set to a different HDI. Generally this is only useful during rust unit testing. When executing wasm without the mock feature, the host will be assumed.