#[non_exhaustive]pub enum ServiceDeterminism {
ReplayStable,
Live,
}Expand description
A host provider’s declared reproducibility contract.
Rustia trusts this declaration; it cannot inspect the provider’s captured state or prove that its answers repeat.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ReplayStable
The application promises repeatable answers for the same execution.
Live
Answers may depend on clocks, external state, or fresh entropy.
Trait Implementations§
Source§impl Clone for ServiceDeterminism
impl Clone for ServiceDeterminism
Source§fn clone(&self) -> ServiceDeterminism
fn clone(&self) -> ServiceDeterminism
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 ServiceDeterminism
impl Debug for ServiceDeterminism
Source§impl PartialEq for ServiceDeterminism
impl PartialEq for ServiceDeterminism
impl Copy for ServiceDeterminism
impl Eq for ServiceDeterminism
impl StructuralPartialEq for ServiceDeterminism
Auto Trait Implementations§
impl Freeze for ServiceDeterminism
impl RefUnwindSafe for ServiceDeterminism
impl Send for ServiceDeterminism
impl Sync for ServiceDeterminism
impl Unpin for ServiceDeterminism
impl UnsafeUnpin for ServiceDeterminism
impl UnwindSafe for ServiceDeterminism
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