Trait boot_core::cosmos_modules::crisis::msg_server::Msg
pub trait Msg: 'static + Send + Sync {
fn verify_invariant<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgVerifyInvariant>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgVerifyInvariantResponse>, 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 verify_invariant<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgVerifyInvariant>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgVerifyInvariantResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
fn verify_invariant<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgVerifyInvariant>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgVerifyInvariantResponse>, Status>> + Send + 'async_trait, Global>>where
'life0: 'async_trait,
Self: 'async_trait,
VerifyInvariant defines a method to verify a particular invariance.