Struct solana_bpf_loader_program::ThisInstructionMeter [−][src]
pub struct ThisInstructionMeter {
pub compute_meter: Rc<RefCell<dyn ComputeMeter>>,
}Expand description
Passed to the VM to enforce the compute budget
Fields
compute_meter: Rc<RefCell<dyn ComputeMeter>>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ThisInstructionMeterimpl !Send for ThisInstructionMeterimpl !Sync for ThisInstructionMeterimpl Unpin for ThisInstructionMeterimpl !UnwindSafe for ThisInstructionMeterBlanket Implementations
pub default fn example() -> TMutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V