pub fn new<'a, H, B, T, O, Exec>(
	backend: &'a B,
	changes_trie_storage: Option<&'a T>,
	offchain_ext: Option<&'a mut O>,
	overlay: &'a mut OverlayedChanges,
	exec: &'a Exec,
	method: &'a str,
	call_data: &'a [u8],
) -> StateMachine<'a, H, B, T, O, Exec> {
	StateMachine {
		backend,
		changes_trie_storage,
		offchain_ext,
		overlay,
		exec,
		method,
		call_data,
		_hasher: PhantomData,
	}
}
/// Creates new substrate state machine.
Creates new substrate state machine.
Creates new substrate state machine .
pub fn new<'a, H, B, T, O, Exec>(
	backend: &'a B,
	changes_trie_storage: Option<&'a T>,
	offchain_ext: Option<&'a mut O>,
	overlay: &'a mut OverlayedChanges,
	exec: &'a Exec,
	method: &'a str,
	call_data: &'a [u8],
) -> StateMachine<'a, H, B, T, O, Exec> {
	StateMachine {
		backend,
		changes_trie_storage,
		offchain_ext,
		overlay,
		exec,
		method,
		call_data,
		_hasher: PhantomData,
	}
}
pub fn new < ' a , H , B , T , O , Exec > ( backend : & ' a B , changes_trie_storage : Option < & ' a T > , offchain_ext : Option < & ' a mut O > , overlay : & ' a mut OverlayedChanges , exec : & ' a Exec , method : & ' a str , call_data : & ' a [ u8 ] , ) -> StateMachine < ' a , H , B , T , O , Exec > { StateMachine { backend , changes_trie_storage , offchain_ext , overlay , exec , method , call_data , _hasher : PhantomData , } }
Creates new substrate state machine.
Creates new substrate state machine .
backend
&'a B
changes_trie_storage
Option<&'a T>
offchain_ext
Option<&'a mut O>
overlay
&'a mut OverlayedChanges
exec
&'a Exec
method
&'a str
call_data
&'a [u8]
backend
&'a B
changes_trie_storage
Option<&'a T>
offchain_ext
Option<&'a mut O>
overlay
&'a mut OverlayedChanges
exec
&'a Exec
method
&'a str
call_data
&'a [u8]