#[repr(C, packed(1))]pub struct LOG_RECORD {Show 14 fields
pub this_lsn: leLSN,
pub client_previous_lsn: leLSN,
pub client_undo_next_lsn: leLSN,
pub client_data_length: le32,
pub client_id: LOG_CLIENT_ID,
pub record_type: LOG_RECORD_TYPE,
pub transaction_id: le32,
pub log_record_flags: LOG_RECORD_FLAGS,
pub reserved_or_alignment: [le16; 3],
pub redo_operation: le16,
pub undo_operation: le16,
pub redo_offset: le16,
pub redo_length: le16,
pub __bindgen_anon_1: LOG_RECORD__bindgen_ty_1,
}Expand description
struct LOG_RECORD - Log record header.
Each log record seems to have a constant size of 0x70 bytes.
Fields§
§this_lsn: leLSN§client_previous_lsn: leLSN§client_undo_next_lsn: leLSN§client_data_length: le32§client_id: LOG_CLIENT_ID§record_type: LOG_RECORD_TYPE§transaction_id: le32§log_record_flags: LOG_RECORD_FLAGS§reserved_or_alignment: [le16; 3]§redo_operation: le16§undo_operation: le16§redo_offset: le16§redo_length: le16§__bindgen_anon_1: LOG_RECORD__bindgen_ty_1Auto Trait Implementations§
impl Freeze for LOG_RECORD
impl RefUnwindSafe for LOG_RECORD
impl Send for LOG_RECORD
impl Sync for LOG_RECORD
impl Unpin for LOG_RECORD
impl UnwindSafe for LOG_RECORD
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