Trait workflow_rpc::asynchronous::server::RpcHandler
source · [−]pub trait RpcHandler<Ops>: Send + Sync + 'staticwhere
Ops: Send + Sync + 'static,{
fn handle_request<'life0, 'async_trait>(
self: Arc<Self>,
op: Ops,
data: &'life0 [u8]
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, RpcResponseError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}