pub struct LogCheckpoint {
pub number: u64,
pub lsn: u64,
pub offset: u32,
pub buf_size: u32,
pub archived_lsn: u64,
}Expand description
Checkpoint record (blocks 1 and 3 of the redo log file).
Fields§
§number: u64Checkpoint sequence number.
lsn: u64LSN at the time of this checkpoint.
offset: u32Byte offset of the checkpoint within the log file.
buf_size: u32Log buffer size at checkpoint time.
archived_lsn: u64LSN up to which log has been archived.
Implementations§
Trait Implementations§
Source§impl Clone for LogCheckpoint
impl Clone for LogCheckpoint
Source§fn clone(&self) -> LogCheckpoint
fn clone(&self) -> LogCheckpoint
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 LogCheckpoint
impl Debug for LogCheckpoint
Auto Trait Implementations§
impl Freeze for LogCheckpoint
impl RefUnwindSafe for LogCheckpoint
impl Send for LogCheckpoint
impl Sync for LogCheckpoint
impl Unpin for LogCheckpoint
impl UnwindSafe for LogCheckpoint
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