pub enum SessionlessTxnState {
Set {
started_on_server: bool,
},
Unset,
}Expand description
Outcome of a sessionless transaction switch / suspend round trip, as
signalled by the server through the transaction-id key/value pair
(reference messages/base.pyx _update_sessionless_txn_state). None
means the response carried no transaction-id update.
Variants§
Set
A sessionless transaction was started or resumed (TXNID_SYNC_SET).
Unset
The active sessionless transaction was suspended or ended
(TXNID_SYNC_UNSET).
Trait Implementations§
Source§impl Clone for SessionlessTxnState
impl Clone for SessionlessTxnState
Source§fn clone(&self) -> SessionlessTxnState
fn clone(&self) -> SessionlessTxnState
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 moreimpl Copy for SessionlessTxnState
Source§impl Debug for SessionlessTxnState
impl Debug for SessionlessTxnState
impl Eq for SessionlessTxnState
Source§impl PartialEq for SessionlessTxnState
impl PartialEq for SessionlessTxnState
Source§fn eq(&self, other: &SessionlessTxnState) -> bool
fn eq(&self, other: &SessionlessTxnState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SessionlessTxnState
Auto Trait Implementations§
impl Freeze for SessionlessTxnState
impl RefUnwindSafe for SessionlessTxnState
impl Send for SessionlessTxnState
impl Sync for SessionlessTxnState
impl Unpin for SessionlessTxnState
impl UnsafeUnpin for SessionlessTxnState
impl UnwindSafe for SessionlessTxnState
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