Function hdk::hdk::set_hdk

source · []
pub fn set_hdk<H: 'static>(hdk: H)where
    H: HdkT,
Expand description

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