pub enum Determinism {
Deterministic,
NonDeterministic,
Unknown,
}Expand description
Contract-level determinism declaration.
Variants§
Deterministic
The node is deterministic for the same input and execution metadata.
NonDeterministic
The node may vary across runs.
Unknown
The contract does not yet declare determinism.
Trait Implementations§
Source§impl Clone for Determinism
impl Clone for Determinism
Source§fn clone(&self) -> Determinism
fn clone(&self) -> Determinism
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Determinism
impl Debug for Determinism
Source§impl PartialEq for Determinism
impl PartialEq for Determinism
Source§fn eq(&self, other: &Determinism) -> bool
fn eq(&self, other: &Determinism) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Determinism
impl Eq for Determinism
impl StructuralPartialEq for Determinism
Auto Trait Implementations§
impl Freeze for Determinism
impl RefUnwindSafe for Determinism
impl Send for Determinism
impl Sync for Determinism
impl Unpin for Determinism
impl UnsafeUnpin for Determinism
impl UnwindSafe for Determinism
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).