pub fn with_native_environment<F, U>(ext: &mut Externalities<Blake2Hasher>, f: F) -> Result<U>
	where F: UnwindSafe + FnOnce() -> U
{
	::runtime_io::with_externalities(ext, move || safe_call(f))
}
/// Set up the externalities and safe calling environment to execute calls to a native runtime.
///
/// If the inner closure panics, it will be caught and return an error.
Set up the externalities and safe calling environment to execute calls to a native runtime.
If the inner closure panics, it will be caught and return an error.
Set up the externalities and safe calling environment to execute calls to a native runtime . If the inner closure panics it will be caught and return an error .
pub fn with_native_environment<F, U>(ext: &mut Externalities<Blake2Hasher>, f: F) -> Result<U>
	where F: UnwindSafe + FnOnce() -> U
{
	::runtime_io::with_externalities(ext, move || safe_call(f))
}
pub fn with_native_environment < F , U > ( ext : & mut Externalities < Blake2Hasher > , f : F ) -> Result < U > where F : UnwindSafe + FnOnce ( ) -> U { :: runtime_io :: with_externalities ( ext , move | | safe_call ( f ) ) }
Set up the externalities and safe calling environment to execute calls to a native runtime.
Set up the externalities and safe calling environment to execute calls to a native runtime .
ext
&mut Externalities<Blake2Hasher>
f
F
ext
&mut Externalities<Blake2Hasher>
f
F