Struct solana_bpf_loader_program::ThisInstructionMeter [−][src]
pub struct ThisInstructionMeter {
pub compute_meter: Rc<RefCell<dyn ComputeMeter>>,
}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 !RefUnwindSafe for ThisInstructionMeterimpl !Send for ThisInstructionMeter
impl !Send for ThisInstructionMeterimpl !Sync for ThisInstructionMeter
impl !Sync for ThisInstructionMeterimpl Unpin for ThisInstructionMeter
impl Unpin for ThisInstructionMeterimpl !UnwindSafe for ThisInstructionMeter
impl !UnwindSafe for ThisInstructionMeterBlanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for Tpub default fn example() -> T
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,