pub enum SnapshotIsolation {
DeepCopy,
CopyOnWrite,
}Expand description
Mutable-state isolation promised by an opaque native in-process snapshot.
Variants§
DeepCopy
Mutable state uses independent storage; immutable weights may be shared.
CopyOnWrite
Storage is shared only until writing, with independent semantic state.
Trait Implementations§
Source§impl Clone for SnapshotIsolation
impl Clone for SnapshotIsolation
Source§fn clone(&self) -> SnapshotIsolation
fn clone(&self) -> SnapshotIsolation
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 SnapshotIsolation
Source§impl Debug for SnapshotIsolation
impl Debug for SnapshotIsolation
Source§impl<'de> Deserialize<'de> for SnapshotIsolation
impl<'de> Deserialize<'de> for SnapshotIsolation
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 SnapshotIsolation
Source§impl PartialEq for SnapshotIsolation
impl PartialEq for SnapshotIsolation
Source§impl Serialize for SnapshotIsolation
impl Serialize for SnapshotIsolation
impl StructuralPartialEq for SnapshotIsolation
Auto Trait Implementations§
impl Freeze for SnapshotIsolation
impl RefUnwindSafe for SnapshotIsolation
impl Send for SnapshotIsolation
impl Sync for SnapshotIsolation
impl Unpin for SnapshotIsolation
impl UnsafeUnpin for SnapshotIsolation
impl UnwindSafe for SnapshotIsolation
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