ExecutorService

Trait ExecutorService 

Source
pub trait ExecutorService:
    Send
    + Sync
    + 'static {
    // Provided method
    fn executor_connection<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Streaming<ExecutorConnectionRequest>>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<BoxStream<ExecutorConnectionResponse>>, 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 ExecutorServiceServer.

Provided Methods§

Source

fn executor_connection<'life0, 'async_trait>( &'life0 self, request: Request<Streaming<ExecutorConnectionRequest>>, ) -> Pin<Box<dyn Future<Output = Result<Response<BoxStream<ExecutorConnectionResponse>>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Long-lived bidirectional stream for the executor.

Implementors§