pub trait Msg:
Send
+ Sync
+ 'static {
// Required methods
fn complete_dkg<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgCompleteDkg>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgCompleteDkgResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_signatures<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitSignatures>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitSignaturesResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn refresh<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRefresh>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRefreshResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn complete_refreshing<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgCompleteRefreshing>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgCompleteRefreshingResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Available on crate feature
grpc only.Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.