pub enum MemorySnapshotKind {
Full,
Diff,
}Expand description
Snapshot type — the on-disk shape that determines whether the memory file is dense or sparse.
Variants§
Full
Dump every byte of the tracked range to the file.
Diff
Write only dirty pages, leaving filesystem holes for the rest.
Trait Implementations§
Source§impl Clone for MemorySnapshotKind
impl Clone for MemorySnapshotKind
Source§fn clone(&self) -> MemorySnapshotKind
fn clone(&self) -> MemorySnapshotKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemorySnapshotKind
impl Debug for MemorySnapshotKind
Source§impl PartialEq for MemorySnapshotKind
impl PartialEq for MemorySnapshotKind
Source§fn eq(&self, other: &MemorySnapshotKind) -> bool
fn eq(&self, other: &MemorySnapshotKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MemorySnapshotKind
impl Eq for MemorySnapshotKind
impl StructuralPartialEq for MemorySnapshotKind
Auto Trait Implementations§
impl Freeze for MemorySnapshotKind
impl RefUnwindSafe for MemorySnapshotKind
impl Send for MemorySnapshotKind
impl Sync for MemorySnapshotKind
impl Unpin for MemorySnapshotKind
impl UnsafeUnpin for MemorySnapshotKind
impl UnwindSafe for MemorySnapshotKind
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