pub enum DurabilityTier {
Inline,
Durable,
}Expand description
Persistence strength exposed by a runtime boundary.
Durable is an end-to-end claim, not merely a journal-storage property. An
effect host may return it only when its journal and complete AwaitEvent
surface pass cold-instance conformance across independent OS processes:
keys, terminals, cancellation sweeps, and revocation must all survive owner
loss and remain observable through the shared substrate. A host with a
durable effect journal but process-local waits must return Inline.
Variants§
Inline
State or coordination may be confined to this OS process.
Durable
Journal and AwaitEvent coordination survive cross-process owner loss.
Trait Implementations§
Source§impl Clone for DurabilityTier
impl Clone for DurabilityTier
Source§fn clone(&self) -> DurabilityTier
fn clone(&self) -> DurabilityTier
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 DurabilityTier
Source§impl Debug for DurabilityTier
impl Debug for DurabilityTier
Source§impl<'de> Deserialize<'de> for DurabilityTier
impl<'de> Deserialize<'de> for DurabilityTier
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 DurabilityTier
Source§impl PartialEq for DurabilityTier
impl PartialEq for DurabilityTier
Source§impl Serialize for DurabilityTier
impl Serialize for DurabilityTier
impl StructuralPartialEq for DurabilityTier
Auto Trait Implementations§
impl Freeze for DurabilityTier
impl RefUnwindSafe for DurabilityTier
impl Send for DurabilityTier
impl Sync for DurabilityTier
impl Unpin for DurabilityTier
impl UnsafeUnpin for DurabilityTier
impl UnwindSafe for DurabilityTier
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.