pub enum DedupedWrite {
New(MatrixEvent),
Existing(MatrixEvent),
}Expand description
What insert_timeline_event_deduped/redact_event_deduped found: a
brand-new write, or the SAME event a prior submission of this
(user, device, txn_id) already produced (plan §4 send/redact rows:
“idempotent per (user, device, txn_id): a repeat returns the SAME
event_id with no second insert”).
Variants§
New(MatrixEvent)
Existing(MatrixEvent)
Trait Implementations§
Source§impl Clone for DedupedWrite
impl Clone for DedupedWrite
Source§impl Debug for DedupedWrite
impl Debug for DedupedWrite
Source§impl PartialEq for DedupedWrite
impl PartialEq for DedupedWrite
impl StructuralPartialEq for DedupedWrite
Auto Trait Implementations§
impl Freeze for DedupedWrite
impl RefUnwindSafe for DedupedWrite
impl Send for DedupedWrite
impl Sync for DedupedWrite
impl Unpin for DedupedWrite
impl UnsafeUnpin for DedupedWrite
impl UnwindSafe for DedupedWrite
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