pub enum DeterminismLevel {
Extreme,
Strict,
Relaxed,
}Expand description
Controls the level of determinism enforcement for WASM execution.
Variants§
Extreme
NaN canonicalization + fuel tracking always on.
Strict
Same as Extreme for now; the default.
Relaxed
Disable NaN canonicalization and fuel for trusted production workloads.
Trait Implementations§
Source§impl Clone for DeterminismLevel
impl Clone for DeterminismLevel
Source§fn clone(&self) -> DeterminismLevel
fn clone(&self) -> DeterminismLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeterminismLevel
impl Debug for DeterminismLevel
Source§impl Default for DeterminismLevel
impl Default for DeterminismLevel
Source§fn default() -> DeterminismLevel
fn default() -> DeterminismLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeterminismLevel
impl PartialEq for DeterminismLevel
impl Copy for DeterminismLevel
impl Eq for DeterminismLevel
impl StructuralPartialEq for DeterminismLevel
Auto Trait Implementations§
impl Freeze for DeterminismLevel
impl RefUnwindSafe for DeterminismLevel
impl Send for DeterminismLevel
impl Sync for DeterminismLevel
impl Unpin for DeterminismLevel
impl UnsafeUnpin for DeterminismLevel
impl UnwindSafe for DeterminismLevel
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,
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.