Enum coord::session::TransactionOps [−][src]
Expand description
The type of operation being performed by the transaction.
This is needed because we currently do not allow mixing reads and writes in a transaction. Use this to record what we have done, and what may need to happen at commit.
Variants
None
The transaction has been initiated, but no statement has yet been executed in it.
Peeks(Timestamp)
Tuple Fields
0: Timestamp
This transaction has had a peek (SELECT
, TAIL
) and must only do other peeks.
Tail
This transaction has done a TAIL and must do nothing else.
Writes(Vec<WriteOp>)
This transaction has had a write (INSERT
, UPDATE
, DELETE
) and must only do
other writes.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransactionOps
impl Send for TransactionOps
impl Sync for TransactionOps
impl Unpin for TransactionOps
impl UnwindSafe for TransactionOps
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more