pub struct Evaluated {
pub value: Value,
pub fuel_spent: u64,
}Expand description
Evaluate entry-style: call a definition with argument values, metering
fuel and enforcing contracts. Deterministic: same module + args → same
value + same fuel spent, on every host.
Fields§
§value: Value§fuel_spent: u64Trait Implementations§
impl StructuralPartialEq for Evaluated
Auto Trait Implementations§
impl Freeze for Evaluated
impl RefUnwindSafe for Evaluated
impl Send for Evaluated
impl Sync for Evaluated
impl Unpin for Evaluated
impl UnsafeUnpin for Evaluated
impl UnwindSafe for Evaluated
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