pub trait Msg:
Send
+ Sync
+ 'static {
// Required methods
fn grant_allowance<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgGrantAllowance>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgGrantAllowanceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn revoke_allowance<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgRevokeAllowance>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgRevokeAllowanceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn prune_allowances<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgPruneAllowances>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgPruneAllowancesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.