pub struct ChainGap {
pub from_file: String,
pub from_max_lsn: u64,
pub to_file: String,
pub to_min_lsn: u64,
pub gap_size: u64,
}Expand description
A gap detected between consecutive files in the chain.
Fields§
§from_file: StringThe file before the gap.
from_max_lsn: u64Max LSN of the file before the gap.
to_file: StringThe file after the gap.
to_min_lsn: u64Min LSN of the file after the gap.
gap_size: u64Size of the LSN gap.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainGap
impl RefUnwindSafe for ChainGap
impl Send for ChainGap
impl Sync for ChainGap
impl Unpin for ChainGap
impl UnsafeUnpin for ChainGap
impl UnwindSafe for ChainGap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more