Trait linera_execution::ServiceRuntime
source · pub trait ServiceRuntime: BaseRuntime {
// Required method
fn try_query_application<'life0, 'life1, 'async_trait>(
&'life0 self,
queried_id: UserApplicationId,
argument: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ExecutionError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
sourcefn try_query_application<'life0, 'life1, 'async_trait>(
&'life0 self,
queried_id: UserApplicationId,
argument: &'life1 [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ExecutionError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn try_query_application<'life0, 'life1, 'async_trait>( &'life0 self, queried_id: UserApplicationId, argument: &'life1 [u8] ) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, ExecutionError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Queries another application.