Trait solana_sdk::process_instruction::ComputeMeter [−][src]
Compute meter
Required methods
fn consume(&mut self, amount: u64) -> Result<(), InstructionError>[src]
Consume compute units
fn get_remaining(&self) -> u64[src]
Get the number of remaining compute units