pub struct MigrationReport {
pub memories: u64,
pub legacy_pages: u64,
pub skipped_pages: u64,
pub wal_ops: u64,
pub stamps_kept: u64,
pub bytes_before: u64,
pub bytes_after: u64,
pub elapsed_ms: u64,
}Expand description
What a migration did.
Fields§
§memories: u64Memories carried over.
legacy_pages: u64Pages in the old file (including the header page).
skipped_pages: u64Old pages that held no decodable memory (free, empty, or corrupt).
wal_ops: u64Old WAL operations applied during the migration.
stamps_kept: u64Write stamps carried over from the old memory map snapshot.
bytes_before: u64Bytes of the old page file, WAL and snapshot.
bytes_after: u64Bytes of the new record file, WAL and snapshot.
elapsed_ms: u64Wall time of the migration.
Trait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Source§impl Debug for MigrationReport
impl Debug for MigrationReport
Auto Trait Implementations§
impl Freeze for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReport
impl Unpin for MigrationReport
impl UnsafeUnpin for MigrationReport
impl UnwindSafe for MigrationReport
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