pub enum SnapshotResourceKind {
Snapshot,
Branch,
Restore,
}Expand description
Kind of state retained under a snapshot resource reservation.
Variants§
Snapshot
Immutable reusable saved state.
Branch
Independently mutable child execution state.
Restore
Provisional replacement during restoration; no additional persistent object.
Trait Implementations§
Source§impl Clone for SnapshotResourceKind
impl Clone for SnapshotResourceKind
Source§fn clone(&self) -> SnapshotResourceKind
fn clone(&self) -> SnapshotResourceKind
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 moreimpl Copy for SnapshotResourceKind
Source§impl Debug for SnapshotResourceKind
impl Debug for SnapshotResourceKind
Source§impl<'de> Deserialize<'de> for SnapshotResourceKind
impl<'de> Deserialize<'de> for SnapshotResourceKind
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
impl Eq for SnapshotResourceKind
Source§impl PartialEq for SnapshotResourceKind
impl PartialEq for SnapshotResourceKind
Source§impl Serialize for SnapshotResourceKind
impl Serialize for SnapshotResourceKind
impl StructuralPartialEq for SnapshotResourceKind
Auto Trait Implementations§
impl Freeze for SnapshotResourceKind
impl RefUnwindSafe for SnapshotResourceKind
impl Send for SnapshotResourceKind
impl Sync for SnapshotResourceKind
impl Unpin for SnapshotResourceKind
impl UnsafeUnpin for SnapshotResourceKind
impl UnwindSafe for SnapshotResourceKind
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