Function sc_executor::with_externalities_safe [−][src]
pub fn with_externalities_safe<F, U>(
ext: &mut dyn Externalities,
f: F
) -> Result<U> where
F: UnwindSafe + FnOnce() -> U,
Expand description
Set up the externalities and safe calling environment to execute runtime calls.
If the inner closure panics, it will be caught and return an error.