pub trait InlineZomeT: Debug {
    // Required methods
    fn functions(&self) -> Vec<FunctionName>;
    fn maybe_call(
        &self,
        api: Box<dyn HostFnApiT>,
        name: &FunctionName,
        input: ExternIO
    ) -> Result<Option<ExternIO>, InlineZomeError>;
    fn uuid(&self) -> String;
    fn get_global(&self, name: &str) -> Option<u8>;
}

Required Methods§

source

fn functions(&self) -> Vec<FunctionName>

Get the functions for this InlineZome.

source

fn maybe_call( &self, api: Box<dyn HostFnApiT>, name: &FunctionName, input: ExternIO ) -> Result<Option<ExternIO>, InlineZomeError>

Make a call to an inline zome function. If the function doesn’t exist, return None.

source

fn uuid(&self) -> String

Accessor

source

fn get_global(&self, name: &str) -> Option<u8>

Get a global value for this zome.

Implementors§

source§

impl<T> InlineZomeT for InlineZome<T>where T: Debug,