pub struct RestoreAbortedTxn {
pub producer_id: i64,
pub start_offset: i64,
pub last_offset: i64,
}Expand description
One decoded aborted-transaction index entry (AbortedTxn).
Fields§
§producer_id: i64§start_offset: i64The transaction’s first offset. It may precede the segment base when the transaction began before a segment roll.
last_offset: i64The abort marker’s offset.
Trait Implementations§
Source§impl Clone for RestoreAbortedTxn
impl Clone for RestoreAbortedTxn
Source§fn clone(&self) -> RestoreAbortedTxn
fn clone(&self) -> RestoreAbortedTxn
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 RestoreAbortedTxn
Source§impl Debug for RestoreAbortedTxn
impl Debug for RestoreAbortedTxn
impl Eq for RestoreAbortedTxn
Source§impl PartialEq for RestoreAbortedTxn
impl PartialEq for RestoreAbortedTxn
impl StructuralPartialEq for RestoreAbortedTxn
Auto Trait Implementations§
impl Freeze for RestoreAbortedTxn
impl RefUnwindSafe for RestoreAbortedTxn
impl Send for RestoreAbortedTxn
impl Sync for RestoreAbortedTxn
impl Unpin for RestoreAbortedTxn
impl UnsafeUnpin for RestoreAbortedTxn
impl UnwindSafe for RestoreAbortedTxn
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