pub fn new_with_backend<B>(
	backend: Arc<B>,
	support_changes_trie: bool
) -> client::Client<
	B,
	client::LocalCallExecutor<B, executor::NativeExecutor<LocalExecutor>>,
	runtime::Block,
	runtime::RuntimeApi
> where B: backend::LocalBackend<runtime::Block, Blake2Hasher>
{
	let executor = NativeExecutor::new(None);
	client::new_with_backend(backend, executor, genesis_storage(support_changes_trie)).unwrap()
}
/// Creates new client instance used for tests with an explicitly provided backend.
/// This is useful for testing backend implementations.
Creates new client instance used for tests with an explicitly provided backend.
This is useful for testing backend implementations.
Creates new client instance used for tests with an explicitly provided backend . This is useful for testing backend implementations .
pub fn new_with_backend<B>(
	backend: Arc<B>,
	support_changes_trie: bool
) -> client::Client<
	B,
	client::LocalCallExecutor<B, executor::NativeExecutor<LocalExecutor>>,
	runtime::Block,
	runtime::RuntimeApi
> where B: backend::LocalBackend<runtime::Block, Blake2Hasher>
{
	let executor = NativeExecutor::new(None);
	client::new_with_backend(backend, executor, genesis_storage(support_changes_trie)).unwrap()
}
pub fn new_with_backend < B > ( backend : Arc < B > , support_changes_trie : bool ) -> client :: Client < B , client :: LocalCallExecutor < B , executor :: NativeExecutor < LocalExecutor > > , runtime :: Block , runtime :: RuntimeApi > where B : backend :: LocalBackend < runtime :: Block , Blake2Hasher > { let executor = NativeExecutor :: new ( None ) ; client :: new_with_backend ( backend , executor , genesis_storage ( support_changes_trie ) ) . unwrap ( ) }
Creates new client instance used for tests with an explicitly provided backend.
Creates new client instance used for tests with an explicitly provided backend .
backend
Arc<B>
support_changes_trie
bool
backend
Arc<B>
support_changes_trie
bool