Trait boot_core::cosmos_modules::evidence::msg_server::Msg
pub trait Msg: 'static + Send + Sync {
fn submit_evidence<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitEvidence>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitEvidenceResponse>, 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 submit_evidence<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitEvidence>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitEvidenceResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn submit_evidence<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgSubmitEvidence>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitEvidenceResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or counterfactual signing.