Trait turbolift::distributed_platform::DistributionPlatform [−][src]
pub trait DistributionPlatform { #[must_use] 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>>> + 'async_trait + Send, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; #[must_use] 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>>> + 'async_trait + Send, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait; fn has_declared(&self, fn_name: &str) -> bool; }
Required methods
#[must_use]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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
#[must_use]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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]declare a function
#[must_use]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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]fn has_declared(&self, fn_name: &str) -> bool
[src]Implementors
pub 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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
K8s: 'async_trait,
[src]pub 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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
LocalQueue: 'async_trait,
[src]
pub 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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
LocalQueue: 'async_trait,
[src]declare a function. Runs once.
pub 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>>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
'life1: 'async_trait,
LocalQueue: 'async_trait,
[src]