pub struct TransactionSnapshot {
pub pid: i64,
pub epoch: i16,
pub state: i8,
}Expand description
The persisted identity and state observed after marker fan-out.
Fields§
§pid: i64§epoch: i16§state: i8Implementations§
Source§impl TransactionSnapshot
impl TransactionSnapshot
Sourcepub fn identity(self) -> TransactionIdentity
pub fn identity(self) -> TransactionIdentity
The producer identity this snapshot holds.
Trait Implementations§
Source§impl Clone for TransactionSnapshot
impl Clone for TransactionSnapshot
Source§fn clone(&self) -> TransactionSnapshot
fn clone(&self) -> TransactionSnapshot
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 TransactionSnapshot
Source§impl Debug for TransactionSnapshot
impl Debug for TransactionSnapshot
impl Eq for TransactionSnapshot
Source§impl PartialEq for TransactionSnapshot
impl PartialEq for TransactionSnapshot
impl StructuralPartialEq for TransactionSnapshot
Auto Trait Implementations§
impl Freeze for TransactionSnapshot
impl RefUnwindSafe for TransactionSnapshot
impl Send for TransactionSnapshot
impl Sync for TransactionSnapshot
impl Unpin for TransactionSnapshot
impl UnsafeUnpin for TransactionSnapshot
impl UnwindSafe for TransactionSnapshot
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