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