Trait turbolift::DistributionPlatform [−][src]
pub trait DistributionPlatform { fn declare<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
function_name: &'life1 str,
project_tar: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + 'static, Global>>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; fn dispatch<'life0, 'life1, 'async_trait>(
&'life0 mut self,
function_name: &'life1 str,
params: String
) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn Error + 'static, Global>>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; fn has_declared(&self, fn_name: &str) -> bool; }
Required methods
fn declare<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
function_name: &'life1 str,
project_tar: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + 'static, Global>>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn declare<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
function_name: &'life1 str,
project_tar: &'life2 [u8]
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + 'static, Global>>> + Send + 'async_trait, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
declare a function