Trait Msg

Source
pub trait Msg:
    Send
    + Sync
    + 'static {
Show 14 methods // Required methods fn submit_deposit_transaction<'life0, 'async_trait>( &'life0 self, request: Request<MsgSubmitDepositTransaction>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitDepositTransactionResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_withdraw_transaction<'life0, 'async_trait>( &'life0 self, request: Request<MsgSubmitWithdrawTransaction>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitWithdrawTransactionResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_fee_rate<'life0, 'async_trait>( &'life0 self, request: Request<MsgSubmitFeeRate>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitFeeRateResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_trusted_non_btc_relayers<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateTrustedNonBtcRelayers>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateTrustedNonBtcRelayersResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_trusted_fee_providers<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateTrustedFeeProviders>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateTrustedFeeProvidersResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn withdraw_to_bitcoin<'life0, 'async_trait>( &'life0 self, request: Request<MsgWithdrawToBitcoin>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgWithdrawToBitcoinResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn submit_signatures<'life0, 'async_trait>( &'life0 self, request: Request<MsgSubmitSignatures>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgSubmitSignaturesResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn consolidate_vaults<'life0, 'async_trait>( &'life0 self, request: Request<MsgConsolidateVaults>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgConsolidateVaultsResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn initiate_dkg<'life0, 'async_trait>( &'life0 self, request: Request<MsgInitiateDkg>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgInitiateDkgResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn complete_dkg<'life0, 'async_trait>( &'life0 self, request: Request<MsgCompleteDkg>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCompleteDkgResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn refresh<'life0, 'async_trait>( &'life0 self, request: Request<MsgRefresh>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgRefreshResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn complete_refreshing<'life0, 'async_trait>( &'life0 self, request: Request<MsgCompleteRefreshing>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgCompleteRefreshingResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn transfer_vault<'life0, 'async_trait>( &'life0 self, request: Request<MsgTransferVault>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgTransferVaultResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn update_params<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateParams>, ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Available on crate feature grpc only.
Expand description

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

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§