pub enum MirrorSingleEventOutcome {
Inserted,
AlreadyPresent,
}Expand description
In-transaction outcome reported by mirror_single_event_into_sqlite_in_tx.
The variants exist so callers in larger transactions (notably the schema v2 atomic cutover) can decide whether to emit operator-facing evidence; the transactional behaviour is the same in both cases.
Variants§
Inserted
The event row was inserted into SQLite by this call.
AlreadyPresent
An identical event row was already present; no INSERT was issued.
Trait Implementations§
Source§impl Clone for MirrorSingleEventOutcome
impl Clone for MirrorSingleEventOutcome
Source§fn clone(&self) -> MirrorSingleEventOutcome
fn clone(&self) -> MirrorSingleEventOutcome
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 MirrorSingleEventOutcome
impl Debug for MirrorSingleEventOutcome
Source§impl PartialEq for MirrorSingleEventOutcome
impl PartialEq for MirrorSingleEventOutcome
Source§fn eq(&self, other: &MirrorSingleEventOutcome) -> bool
fn eq(&self, other: &MirrorSingleEventOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MirrorSingleEventOutcome
impl Eq for MirrorSingleEventOutcome
impl StructuralPartialEq for MirrorSingleEventOutcome
Auto Trait Implementations§
impl Freeze for MirrorSingleEventOutcome
impl RefUnwindSafe for MirrorSingleEventOutcome
impl Send for MirrorSingleEventOutcome
impl Sync for MirrorSingleEventOutcome
impl Unpin for MirrorSingleEventOutcome
impl UnsafeUnpin for MirrorSingleEventOutcome
impl UnwindSafe for MirrorSingleEventOutcome
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