Function gcore::exec::program_id
source · pub fn program_id() -> ActorId
Expand description
Return the identifier of the current program.
§Examples
use gcore::exec;
#[no_mangle]
extern "C" fn handle() {
let whoami = exec::program_id();
}