pub trait FunctionRunnerService:
Send
+ Sync
+ 'static {
// Required method
fn run_function<'life0, 'async_trait>(
&'life0 self,
request: Request<RunFunctionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RunFunctionResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with FunctionRunnerServiceServer.
Required Methods§
Sourcefn run_function<'life0, 'async_trait>(
&'life0 self,
request: Request<RunFunctionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RunFunctionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run_function<'life0, 'async_trait>(
&'life0 self,
request: Request<RunFunctionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RunFunctionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
RunFunction runs the function.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".