Trait boot_core::cosmos_modules::bank::msg_server::Msg
pub trait Msg: 'static + Send + Sync {
fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: '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, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods
fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSendResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
Send defines a method for sending coins from one account to another account.
fn multi_send<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgMultiSend>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgMultiSendResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: '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, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
MultiSend defines a method for sending coins from some accounts to other accounts.