pub struct ThisInstructionMeter {
pub compute_meter: Rc<RefCell<ComputeMeter>>,
}
Expand description
Passed to the VM to enforce the compute budget
Fields§
§compute_meter: Rc<RefCell<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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more