pub enum SnapshotType {
Full,
Diff,
}Expand description
Snapshot type for /snapshot/create.
Variants§
Full
Full snapshot — the entire memory file is dumped.
Diff
Diff snapshot — only dirty pages (requires track_dirty_pages).
Trait Implementations§
Source§impl Clone for SnapshotType
impl Clone for SnapshotType
Source§fn clone(&self) -> SnapshotType
fn clone(&self) -> SnapshotType
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 SnapshotType
impl Debug for SnapshotType
Source§impl Default for SnapshotType
impl Default for SnapshotType
Source§fn default() -> SnapshotType
fn default() -> SnapshotType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SnapshotType
impl<'de> Deserialize<'de> for SnapshotType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnapshotType
impl PartialEq for SnapshotType
Source§fn eq(&self, other: &SnapshotType) -> bool
fn eq(&self, other: &SnapshotType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnapshotType
impl Serialize for SnapshotType
impl Copy for SnapshotType
impl Eq for SnapshotType
impl StructuralPartialEq for SnapshotType
Auto Trait Implementations§
impl Freeze for SnapshotType
impl RefUnwindSafe for SnapshotType
impl Send for SnapshotType
impl Sync for SnapshotType
impl Unpin for SnapshotType
impl UnsafeUnpin for SnapshotType
impl UnwindSafe for SnapshotType
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