Trait solana_rbpf::vm::InstructionMeter
source · [−]pub trait InstructionMeter {
fn consume(&mut self, amount: u64);
fn get_remaining(&self) -> u64;
}
Expand description
Instruction meter
Required Methods
fn get_remaining(&self) -> u64
fn get_remaining(&self) -> u64
Get the number of remaining instructions allowed