pub trait SystemParamsService:
Send
+ Sync
+ 'static {
// Required methods
fn get_system_params<'life0, 'async_trait>(
&'life0 self,
request: Request<GetSystemParamsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetSystemParamsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_system_param<'life0, 'async_trait>(
&'life0 self,
request: Request<SetSystemParamRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetSystemParamResponse>, 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 SystemParamsServiceServer.