pub enum Determinism {
Strict,
Relaxed,
}Expand description
Determinism guarantee level. Strict is the only mode that ships today;
Relaxed is reserved so the field exists in the policy surface without
implying it weakens any current guarantee.
Variants§
Strict
Bit-identical output across runs and platforms (the default).
Relaxed
Reserved — does not currently relax any guarantee.
Implementations§
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more