pub trait GetTransactionPriorityDetails {
// Required method
fn get_transaction_priority_details(
&self,
round_compute_unit_price_enabled: bool,
) -> Option<TransactionPriorityDetails>;
// Provided method
fn process_compute_budget_instruction<'a>(
instructions: impl Iterator<Item = (&'a Pubkey, &'a CompiledInstruction)>,
_round_compute_unit_price_enabled: bool,
) -> Option<TransactionPriorityDetails> { ... }
}
Required Methods§
fn get_transaction_priority_details( &self, round_compute_unit_price_enabled: bool, ) -> Option<TransactionPriorityDetails>
Provided Methods§
fn process_compute_budget_instruction<'a>( instructions: impl Iterator<Item = (&'a Pubkey, &'a CompiledInstruction)>, _round_compute_unit_price_enabled: bool, ) -> Option<TransactionPriorityDetails>
Object Safety§
This trait is not object safe.