pub struct TpcXid<'a> {
pub format_id: u32,
pub global_transaction_id: &'a [u8],
pub branch_qualifier: &'a [u8],
}Expand description
A two-phase-commit transaction id (reference Xid namedtuple). The
global_transaction_id and branch_qualifier are the raw (already
UTF-8 encoded) byte values; the shim coerces str members before calling.
Fields§
§format_id: u32§global_transaction_id: &'a [u8]§branch_qualifier: &'a [u8]Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TpcXid<'a>
impl<'a> RefUnwindSafe for TpcXid<'a>
impl<'a> Send for TpcXid<'a>
impl<'a> Sync for TpcXid<'a>
impl<'a> Unpin for TpcXid<'a>
impl<'a> UnsafeUnpin for TpcXid<'a>
impl<'a> UnwindSafe for TpcXid<'a>
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