Trait Msg
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 '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>>
where 'life0: 'async_trait,
Self: '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 'life0: 'async_trait,
Self: 'async_trait;
fn set_send_enabled<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSetSendEnabled>,
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSetSendEnabledResponse>, 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.