Function hdk::hdk::set_hdk

source ·
pub fn set_hdk<H>(hdk: H)
where H: HdkT + 'static,
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.