Trait ibc_proto::interchain_security::ccv::provider::v1::msg_server::Msg
source · pub trait Msg: Send + Sync + 'static {
// Required methods
fn assign_consumer_key<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgAssignConsumerKey>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgAssignConsumerKeyResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_consumer_misbehaviour<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitConsumerMisbehaviour>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitConsumerMisbehaviourResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit_consumer_double_voting<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitConsumerDoubleVoting>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitConsumerDoubleVotingResponse>, 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.