Trait solana_rbpf::vm::InstructionMeter[][src]

pub trait InstructionMeter {
    fn consume(&mut self, amount: u64);
fn get_remaining(&self) -> u64; }
Expand description

Instruction meter

Required methods

fn consume(&mut self, amount: u64)[src]

Consume instructions

fn get_remaining(&self) -> u64[src]

Get the number of remaining instructions allowed

Implementors