Trait ibc_proto::ibc::lightclients::wasm::v1::query_server::Query
source · pub trait Query: Send + Sync + 'static {
// Required methods
fn checksums<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChecksumsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChecksumsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn code<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryCodeRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<QueryCodeResponse>, 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 QueryServer.