pub fn execute_runtime<F, T>(&self, f: F) -> T
    where
        F: FnOnce(&VMRuntime) -> T,
    {
        self.0.rent(|runtime| f(runtime))
    }
// API for temporal backward compatibility.
// TODO: Get rid of it later with the following three api after LibraVM refactor.
API for temporal backward compatibility.
TODO: Get rid of it later with the following three api after LibraVM refactor.
API for temporal backward compatibility . TODO : Get rid of it later with the following three api after LibraVM refactor .
pub fn execute_runtime<F, T>(&self, f: F) -> T
    where
        F: FnOnce(&VMRuntime) -> T,
    {
        self.0.rent(|runtime| f(runtime))
    }
pub fn execute_runtime < F , T > ( & self , f : F ) -> T where F : FnOnce ( & VMRuntime ) -> T , { self . 0 . rent ( | runtime | f ( runtime ) ) }
API for temporal backward compatibility.
API for temporal backward compatibility .
&self
f
F
&self
f
F