pub struct WalReplay {
pub entries: Vec<WalEntry>,
pub torn_at: Option<u64>,
pub base_lsn: Lsn,
}Expand description
The result of replaying a WAL segment to its end.
Fields§
§entries: Vec<WalEntry>The intact records, in log order.
torn_at: Option<u64>Byte offset of the torn trailing record, if the log ended on one rather than cleanly at a frame boundary.
base_lsn: LsnThe segment’s base LSN, from its header.
Implementations§
Trait Implementations§
impl Eq for WalReplay
impl StructuralPartialEq for WalReplay
Auto Trait Implementations§
impl Freeze for WalReplay
impl RefUnwindSafe for WalReplay
impl Send for WalReplay
impl Sync for WalReplay
impl Unpin for WalReplay
impl UnsafeUnpin for WalReplay
impl UnwindSafe for WalReplay
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