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.