pub trait Msg: Send + Sync + 'static {
// Required methods
fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn multi_send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMultiSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, 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 MsgServer.
Required Methods§
sourcefn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>( &'life0 self, request: Request<MsgSend> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Send defines a method for sending coins from one account to another account.
sourcefn multi_send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMultiSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn multi_send<'life0, 'async_trait>( &'life0 self, request: Request<MsgMultiSend> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
MultiSend defines a method for sending coins from some accounts to other accounts.