risingwave_pb::meta::session_param_service_server

Trait SessionParamService

source
pub trait SessionParamService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_session_params<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetSessionParamsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetSessionParamsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_session_param<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SetSessionParamRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<SetSessionParamResponse>, 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 SessionParamServiceServer.

Required Methods§

source

fn get_session_params<'life0, 'async_trait>( &'life0 self, request: Request<GetSessionParamsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetSessionParamsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_session_param<'life0, 'async_trait>( &'life0 self, request: Request<SetSessionParamRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SetSessionParamResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§