Trait rhoast_client_v03::proto::casper::v1::propose_service_server::ProposeService
source · pub trait ProposeService: Send + Sync + 'static {
// Required methods
fn propose<'life0, 'async_trait>(
&'life0 self,
request: Request<ProposeQuery>
) -> Pin<Box<dyn Future<Output = Result<Response<ProposeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn propose_result<'life0, 'async_trait>(
&'life0 self,
request: Request<ProposeResultQuery>
) -> Pin<Box<dyn Future<Output = Result<Response<ProposeResultResponse>, 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 ProposeServiceServer.