pub struct LogGap {
pub expected: u64,
pub first: u64,
pub skipped: Option<u64>,
}Expand description
A page whose first record is not the one the read asked for: the log no longer holds the records in between.
Fields§
§expected: u64The sequence number the read asked for.
first: u64The sequence number of the page’s first record.
skipped: Option<u64>How many records were lost between the two; None when the log’s
numbering went back below expected, as when its Total_Record_Count
was reset.
Trait Implementations§
impl Copy for LogGap
impl Eq for LogGap
impl StructuralPartialEq for LogGap
Auto Trait Implementations§
impl Freeze for LogGap
impl RefUnwindSafe for LogGap
impl Send for LogGap
impl Sync for LogGap
impl Unpin for LogGap
impl UnsafeUnpin for LogGap
impl UnwindSafe for LogGap
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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