pub struct TransactionId(/* private fields */);Expand description
A unique identifier for one domain-local transaction.
Implementations§
Source§impl TransactionId
impl TransactionId
Trait Implementations§
Source§impl AsRef<[u8]> for TransactionId
impl AsRef<[u8]> for TransactionId
Source§impl Clone for TransactionId
impl Clone for TransactionId
Source§fn clone(&self) -> TransactionId
fn clone(&self) -> TransactionId
Returns a duplicate of the value. Read more
1.0.0 · 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 TransactionId
impl Debug for TransactionId
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for TransactionId
impl<'bytes, Ctx> Decode<'bytes, Ctx> for TransactionId
Source§impl Display for TransactionId
impl Display for TransactionId
Source§impl<Ctx> Encode<Ctx> for TransactionId
impl<Ctx> Encode<Ctx> for TransactionId
Source§impl FromStr for TransactionId
impl FromStr for TransactionId
Source§impl Hash for TransactionId
impl Hash for TransactionId
Source§impl Ord for TransactionId
impl Ord for TransactionId
Source§fn cmp(&self, other: &TransactionId) -> Ordering
fn cmp(&self, other: &TransactionId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransactionId
impl PartialEq for TransactionId
Source§impl PartialOrd for TransactionId
impl PartialOrd for TransactionId
impl Copy for TransactionId
impl Eq for TransactionId
impl StructuralPartialEq for TransactionId
Auto Trait Implementations§
impl Freeze for TransactionId
impl RefUnwindSafe for TransactionId
impl Send for TransactionId
impl Sync for TransactionId
impl Unpin for TransactionId
impl UnwindSafe for TransactionId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> RecordKey for T
impl<T> RecordKey for T
Source§fn encode_key(&self) -> Result<Vec<u8>, RecordError>
fn encode_key(&self) -> Result<Vec<u8>, RecordError>
Encodes this key into its unique durable representation.
Source§fn decode_key(bytes: &[u8]) -> Result<T, RecordError>
fn decode_key(bytes: &[u8]) -> Result<T, RecordError>
Strictly decodes a key from its unique durable representation.
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)