pub struct Replay<'a> {
pub base_generation: u64,
pub good_len: usize,
/* private fields */
}Expand description
A replayed log image: its header’s generation and the length of its committed prefix (header plus whole records), whose records were all validated.
Fields§
§base_generation: u64Base generation this log extends.
good_len: usizeByte length of the committed prefix; a writable opener truncates the file to this length.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Replay<'a>
impl<'a> RefUnwindSafe for Replay<'a>
impl<'a> Send for Replay<'a>
impl<'a> Sync for Replay<'a>
impl<'a> Unpin for Replay<'a>
impl<'a> UnsafeUnpin for Replay<'a>
impl<'a> UnwindSafe for Replay<'a>
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