#[non_exhaustive]pub enum RuntimeSessionPersistenceProfile {
WholeBlobV1,
HeadCanonicalV1,
}Expand description
Durable representation selected for runtime-owned session authority.
The profile is explicit because the physical commit is materially different: a whole-blob store owns one lazy body encoding plus its exact row authority, while a head-canonical store owns delta rows and the small head inside the runtime transaction itself.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WholeBlobV1
RuntimeStore retains an authoritative serialized Session document.
HeadCanonicalV1
RuntimeStore atomically commits canonical strand rows and a small head.
Trait Implementations§
Source§impl Clone for RuntimeSessionPersistenceProfile
impl Clone for RuntimeSessionPersistenceProfile
Source§fn clone(&self) -> RuntimeSessionPersistenceProfile
fn clone(&self) -> RuntimeSessionPersistenceProfile
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 RuntimeSessionPersistenceProfile
Source§impl<'de> Deserialize<'de> for RuntimeSessionPersistenceProfile
impl<'de> Deserialize<'de> for RuntimeSessionPersistenceProfile
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 RuntimeSessionPersistenceProfile
impl StructuralPartialEq for RuntimeSessionPersistenceProfile
Auto Trait Implementations§
impl Freeze for RuntimeSessionPersistenceProfile
impl RefUnwindSafe for RuntimeSessionPersistenceProfile
impl Send for RuntimeSessionPersistenceProfile
impl Sync for RuntimeSessionPersistenceProfile
impl Unpin for RuntimeSessionPersistenceProfile
impl UnsafeUnpin for RuntimeSessionPersistenceProfile
impl UnwindSafe for RuntimeSessionPersistenceProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.