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 ThisInstructionMeter
impl !Send for ThisInstructionMeter
impl !Sync for ThisInstructionMeter
impl Unpin for ThisInstructionMeter
impl !UnwindSafe for ThisInstructionMeter
Blanket Implementations
pub default fn example() -> T
Mutably 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 = T
Should always be Self