pub enum ConditionalCommitOutcome {
Committed(Vec<u64>),
AlreadyCommitted(Vec<OpRecord>),
IsolationConflict {
key: IsolationKey,
since_head_id: u64,
conflicting_entry_id: u64,
},
}Expand description
Result of an exact-once append guarded by an isolation precondition.
Variants§
Trait Implementations§
Source§impl Clone for ConditionalCommitOutcome
impl Clone for ConditionalCommitOutcome
Source§fn clone(&self) -> ConditionalCommitOutcome
fn clone(&self) -> ConditionalCommitOutcome
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 moreAuto Trait Implementations§
impl Freeze for ConditionalCommitOutcome
impl RefUnwindSafe for ConditionalCommitOutcome
impl Send for ConditionalCommitOutcome
impl Sync for ConditionalCommitOutcome
impl Unpin for ConditionalCommitOutcome
impl UnsafeUnpin for ConditionalCommitOutcome
impl UnwindSafe for ConditionalCommitOutcome
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