pdk-flex-abi
home
Module pdk-flex-abi::api
Module pdk-flex-abi::api::metadata
Module pdk-flex-abi::api::status
Module pdk-flex-abi::api::types
Module pdk-flex-abi::entrypoint
Function pdk-flex-abi::entrypoint::wrap_entrypoint
fn wrap_entrypoint < O , E > (entrypoint : fn (& dyn FlexAbi) -> Result < O , E >) -> bool where O : Serialize , E : Display ,Function pdk-flex-abi::entrypoint::do_wrap_entrypoint
fn do_wrap_entrypoint < O , E > (entrypoint : fn (& dyn FlexAbi) -> Result < O , E > ,) -> Result < () , anyhow :: Error > where O : Serialize , E : Display ,Module pdk-flex-abi::hostcalls
Function pdk-flex-abi::hostcalls::proxy_call_foreign_function
fn proxy_call_foreign_function (_name_data : * const u8 , _name_size : usize , _args_data : * const u8 , _args_size : usize , _return_data : * mut * mut u8 , _return_size : * mut usize ,) -> StatusFunction pdk-flex-abi::hostcalls::raw_flex_call
fn raw_flex_call (name : & str , args : & [& str]) -> Result < Option < Bytes > , Status >Function pdk-flex-abi::hostcalls::to_json_array
fn to_json_array (args : & [& str]) -> Result < String , Status >Function pdk-flex-abi::hostcalls::log
fn log (level : FlexLogLevel , msg : & str)Logging ABI functions
Function pdk-flex-abi::hostcalls::service_create
fn service_create (name : & str , ns : & str , uri : & str) -> Result < () , Status >Registering services ABI functions
Function pdk-flex-abi::hostcalls::get_env
fn get_env (name : & str) -> Option < String >Environment ABI functions
Function pdk-flex-abi::hostcalls::get_configuration
fn get_configuration () -> Result < Option < Bytes > , Status >Configuration ABI functions
Function pdk-flex-abi::hostcalls::get_metadata
fn get_metadata () -> Result < Option < Bytes > , Status >Metadata ABI functions