Struct LOG_RECORD

Source
#[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_1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.