Trait solana_banks_interface::Banks [−][src]
Associated Types
type SendTransactionWithContextFut: Future<Output = ()>[src]
The response future returned by send_transaction_with_context.
type GetFeesWithCommitmentAndContextFut: Future<Output = (FeeCalculator, Hash, Slot)>[src]
The response future returned by get_fees_with_commitment_and_context.
type GetTransactionStatusWithContextFut: Future<Output = Option<TransactionStatus>>[src]
The response future returned by get_transaction_status_with_context.
type GetSlotWithContextFut: Future<Output = Slot>[src]
The response future returned by get_slot_with_context.
type ProcessTransactionWithCommitmentAndContextFut: Future<Output = Option<Result<()>>>[src]
The response future returned by process_transaction_with_commitment_and_context.
type GetAccountWithCommitmentAndContextFut: Future<Output = Option<Account>>[src]
The response future returned by get_account_with_commitment_and_context.
Required methods
fn send_transaction_with_context(
self,
context: Context,
transaction: Transaction
) -> Self::SendTransactionWithContextFut[src]
self,
context: Context,
transaction: Transaction
) -> Self::SendTransactionWithContextFut
fn get_fees_with_commitment_and_context(
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetFeesWithCommitmentAndContextFut[src]
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetFeesWithCommitmentAndContextFut
fn get_transaction_status_with_context(
self,
context: Context,
signature: Signature
) -> Self::GetTransactionStatusWithContextFut[src]
self,
context: Context,
signature: Signature
) -> Self::GetTransactionStatusWithContextFut
fn get_slot_with_context(
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetSlotWithContextFut[src]
self,
context: Context,
commitment: CommitmentLevel
) -> Self::GetSlotWithContextFut
fn process_transaction_with_commitment_and_context(
self,
context: Context,
transaction: Transaction,
commitment: CommitmentLevel
) -> Self::ProcessTransactionWithCommitmentAndContextFut[src]
self,
context: Context,
transaction: Transaction,
commitment: CommitmentLevel
) -> Self::ProcessTransactionWithCommitmentAndContextFut
fn get_account_with_commitment_and_context(
self,
context: Context,
address: Pubkey,
commitment: CommitmentLevel
) -> Self::GetAccountWithCommitmentAndContextFut[src]
self,
context: Context,
address: Pubkey,
commitment: CommitmentLevel
) -> Self::GetAccountWithCommitmentAndContextFut
Provided methods
fn serve(self) -> ServeBanks<Self>[src]
Returns a serving function to use with tarpc::server::Server.