pub trait WorkerToWorker: Send + Sync + 'static {
    fn send_message<'life0, 'async_trait>(
        &'life0 self,
        request: Request<WorkerMessage>
    ) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn request_batches<'life0, 'async_trait>(
        &'life0 self,
        request: Request<WorkerBatchRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<WorkerBatchResponse>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing RPC methods that should be implemented for use with WorkerToWorkerServer.

Required Methods

Implementors