Trait ibc_proto::ibc::applications::transfer::v1::msg_server::Msg
source · pub trait Msg: Send + Sync + 'static {
// Required methods
fn transfer<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgTransfer>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferResponse>, 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;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods§
sourcefn transfer<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgTransfer>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transfer<'life0, 'async_trait>( &'life0 self, request: Request<MsgTransfer> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Transfer defines a rpc handler method for MsgTransfer.
sourcefn 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,
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,
UpdateParams defines a rpc handler for MsgUpdateParams.