pub struct UndoRecord {
pub offset: usize,
pub record_type: UndoRecordType,
pub info_bits: u8,
pub next_offset: u16,
pub data_len: usize,
}Expand description
A parsed undo record within an undo log page.
Fields§
§offset: usizeByte offset of this record within the page.
record_type: UndoRecordTypeOperation type.
info_bits: u8Info bits (compilation info flags from upper bits of type byte).
next_offset: u16Offset of the next undo record (2-byte pointer), 0 if last.
data_len: usizeApproximate data length of this record (bytes until next record or free pointer).
Trait Implementations§
Source§impl Clone for UndoRecord
impl Clone for UndoRecord
Source§fn clone(&self) -> UndoRecord
fn clone(&self) -> UndoRecord
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 UndoRecord
impl Debug for UndoRecord
Auto Trait Implementations§
impl Freeze for UndoRecord
impl RefUnwindSafe for UndoRecord
impl Send for UndoRecord
impl Sync for UndoRecord
impl Unpin for UndoRecord
impl UnsafeUnpin for UndoRecord
impl UnwindSafe for UndoRecord
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more