pub enum TransactionSelector {
Transaction(TransactionId),
Session(SessionKey),
}Expand description
How to address an in-flight transaction for control.
Variants§
Transaction(TransactionId)
By transaction id (valid during external session creation).
Session(SessionKey)
By established session key.
Trait Implementations§
Source§impl Clone for TransactionSelector
impl Clone for TransactionSelector
Source§fn clone(&self) -> TransactionSelector
fn clone(&self) -> TransactionSelector
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 TransactionSelector
impl Debug for TransactionSelector
impl Eq for TransactionSelector
Source§impl Hash for TransactionSelector
impl Hash for TransactionSelector
Source§impl PartialEq for TransactionSelector
impl PartialEq for TransactionSelector
impl StructuralPartialEq for TransactionSelector
Auto Trait Implementations§
impl Freeze for TransactionSelector
impl RefUnwindSafe for TransactionSelector
impl Send for TransactionSelector
impl Sync for TransactionSelector
impl Unpin for TransactionSelector
impl UnsafeUnpin for TransactionSelector
impl UnwindSafe for TransactionSelector
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