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
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more