pub trait ScaleService:
Send
+ Sync
+ 'static {
// Required methods
fn get_cluster_info<'life0, 'async_trait>(
&'life0 self,
request: Request<GetClusterInfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetClusterInfoResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn reschedule<'life0, 'async_trait>(
&'life0 self,
request: Request<RescheduleRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RescheduleResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_streaming_job_node_labels<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateStreamingJobNodeLabelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateStreamingJobNodeLabelsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_serverless_streaming_jobs_status<'life0, 'async_trait>(
&'life0 self,
request: Request<GetServerlessStreamingJobsStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetServerlessStreamingJobsStatusResponse>, 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 ScaleServiceServer.