pub trait GetTransactionPriorityDetails {
// Required method
fn get_transaction_priority_details(
&self
) -> Option<TransactionPriorityDetails>;
// Provided method
fn process_compute_budget_instruction<'a>(
instructions: impl Iterator<Item = (&'a Pubkey, &'a CompiledInstruction)>
) -> Option<TransactionPriorityDetails> { ... }
}