pub trait Msg:
Send
+ Sync
+ 'static {
// Required methods
fn register_account<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRegisterAccount>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRegisterAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn clear_account<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgClearAccount>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgClearAccountResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Available on crate feature
rpc
only.Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.