ibc_proto::cosmos::authz::v1beta1::query_server

Trait Query

source
pub trait Query:
    Send
    + Sync
    + 'static {
    // Required methods
    fn grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGrantsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGrantsResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn granter_grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGranterGrantsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranterGrantsResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
    fn grantee_grants<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryGranteeGrantsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranteeGrantsResponse>, 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 QueryServer.

Required Methods§

source

fn grants<'life0, 'async_trait>( &'life0 self, request: Request<QueryGrantsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGrantsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

source

fn granter_grants<'life0, 'async_trait>( &'life0 self, request: Request<QueryGranterGrantsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranterGrantsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

source

fn grantee_grants<'life0, 'async_trait>( &'life0 self, request: Request<QueryGranteeGrantsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<QueryGranteeGrantsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§