Enum TxnWireId
pub enum TxnWireId {
TxId(u64),
Cursor(String),
}Expand description
The backend’s opaque transaction identity on the wire. The two masters already differ here
for one-shots — rindled reports the cluster commit (cv + txId), the replicator its
change-log cursor (cursor) — and the JS client reads neither; carrying the split as an
explicit variant keeps the shared serializer honest instead of papering over it
(REPLICATOR-INTERACTIVE-TXN-DESIGN.md §7).
Variants§
TxId(u64)
rindled’s committed tx id — rendered as cv AND txId.
Cursor(String)
The replicator’s minted change-log cursor (w:<seq>) — rendered as cursor.
Trait Implementations§
impl StructuralPartialEq for TxnWireId
Auto Trait Implementations§
impl Freeze for TxnWireId
impl RefUnwindSafe for TxnWireId
impl Send for TxnWireId
impl Sync for TxnWireId
impl Unpin for TxnWireId
impl UnsafeUnpin for TxnWireId
impl UnwindSafe for TxnWireId
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