pub enum RuntimeStoreWriteFenceOutcome {
Applied,
Conflict {
reason: String,
},
Backoff {
reason: String,
},
}Expand description
Result of executing one synchronous target write under an external fence.
The fence is deliberately runtime-generic. A caller may back it with a lease, process-incarnation lock, or another authority source without the runtime store depending on that owner’s domain types.
Variants§
Applied
The fence was current and invoked the supplied operation exactly once.
Conflict
Durable authority was superseded. The operation was not invoked.
Backoff
Authority could not be checked temporarily. The operation was not invoked and the caller should retry after re-observation.
Trait Implementations§
Source§impl Clone for RuntimeStoreWriteFenceOutcome
impl Clone for RuntimeStoreWriteFenceOutcome
Source§fn clone(&self) -> RuntimeStoreWriteFenceOutcome
fn clone(&self) -> RuntimeStoreWriteFenceOutcome
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 moreimpl Eq for RuntimeStoreWriteFenceOutcome
impl StructuralPartialEq for RuntimeStoreWriteFenceOutcome
Auto Trait Implementations§
impl Freeze for RuntimeStoreWriteFenceOutcome
impl RefUnwindSafe for RuntimeStoreWriteFenceOutcome
impl Send for RuntimeStoreWriteFenceOutcome
impl Sync for RuntimeStoreWriteFenceOutcome
impl Unpin for RuntimeStoreWriteFenceOutcome
impl UnsafeUnpin for RuntimeStoreWriteFenceOutcome
impl UnwindSafe for RuntimeStoreWriteFenceOutcome
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<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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.