penumbra_proto::tendermint::abci::abci_application_server

Trait AbciApplication

source
pub trait AbciApplication:
    Send
    + Sync
    + 'static {
Show 16 methods // Required methods fn echo<'life0, 'async_trait>( &'life0 self, request: Request<RequestEcho>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseEcho>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn flush<'life0, 'async_trait>( &'life0 self, request: Request<RequestFlush>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseFlush>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn info<'life0, 'async_trait>( &'life0 self, request: Request<RequestInfo>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseInfo>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn deliver_tx<'life0, 'async_trait>( &'life0 self, request: Request<RequestDeliverTx>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseDeliverTx>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn check_tx<'life0, 'async_trait>( &'life0 self, request: Request<RequestCheckTx>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseCheckTx>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn query<'life0, 'async_trait>( &'life0 self, request: Request<RequestQuery>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseQuery>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn commit<'life0, 'async_trait>( &'life0 self, request: Request<RequestCommit>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseCommit>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn init_chain<'life0, 'async_trait>( &'life0 self, request: Request<RequestInitChain>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseInitChain>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn begin_block<'life0, 'async_trait>( &'life0 self, request: Request<RequestBeginBlock>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseBeginBlock>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn end_block<'life0, 'async_trait>( &'life0 self, request: Request<RequestEndBlock>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseEndBlock>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_snapshots<'life0, 'async_trait>( &'life0 self, request: Request<RequestListSnapshots>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseListSnapshots>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn offer_snapshot<'life0, 'async_trait>( &'life0 self, request: Request<RequestOfferSnapshot>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseOfferSnapshot>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn load_snapshot_chunk<'life0, 'async_trait>( &'life0 self, request: Request<RequestLoadSnapshotChunk>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseLoadSnapshotChunk>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn apply_snapshot_chunk<'life0, 'async_trait>( &'life0 self, request: Request<RequestApplySnapshotChunk>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseApplySnapshotChunk>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn prepare_proposal<'life0, 'async_trait>( &'life0 self, request: Request<RequestPrepareProposal>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponsePrepareProposal>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn process_proposal<'life0, 'async_trait>( &'life0 self, request: Request<RequestProcessProposal>, ) -> Pin<Box<dyn Future<Output = Result<Response<ResponseProcessProposal>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Available on crate feature rpc only.
Expand description

Generated trait containing gRPC methods that should be implemented for use with AbciApplicationServer.

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Implementors§