pub struct InstructionBudget(pub usize);Expand description
Maximum guest instructions to execute in one call. This is work, not elapsed host time or a requested number of guest ticks.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for InstructionBudget
impl Clone for InstructionBudget
impl Copy for InstructionBudget
Source§impl Debug for InstructionBudget
impl Debug for InstructionBudget
impl Eq for InstructionBudget
Source§impl PartialEq for InstructionBudget
impl PartialEq for InstructionBudget
impl StructuralPartialEq for InstructionBudget
Auto Trait Implementations§
impl Freeze for InstructionBudget
impl RefUnwindSafe for InstructionBudget
impl Send for InstructionBudget
impl Sync for InstructionBudget
impl Unpin for InstructionBudget
impl UnsafeUnpin for InstructionBudget
impl UnwindSafe for InstructionBudget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.