pub struct SessionStoreCapabilities {
pub atomic_session_snapshots: bool,
pub aggregate_cas: bool,
pub append_only_event_log: bool,
pub lease_fencing: bool,
pub encrypted_at_rest: bool,
pub watch: bool,
pub reference_aware_artifact_gc: bool,
}Expand description
Persistence guarantees advertised by a session store implementation.
Hosts inspect these flags before relying on a durability semantics; a missing guarantee means the caller must arrange it above the store. The flags describe what an implementation already proves with its own tests, not aspirations (KRN-6).
Fields§
§atomic_session_snapshots: boolA complete SessionSnapshotV1 is committed as one atomic generation.
aggregate_cas: boolSaving a generation whose identity already exists either replaces it under one compare-and-swap decision or fails without a partial write; concurrent writers never interleave generations.
append_only_event_log: boolEvents are appended once with monotonically increasing sequence and can be replayed after reopen; duplicates fail closed.
lease_fencing: boolCross-process writers are fenced by a lease so a stale process cannot overwrite a newer generation after a takeover.
encrypted_at_rest: boolPersisted bytes are encrypted at rest by the backend itself.
watch: boolThe store can notify watchers of committed generations.
reference_aware_artifact_gc: boolArtifact garbage collection is reference-aware: content reachable from a retained provenance receipt, review finding, checkpoint, or publication is never removed.
Trait Implementations§
Source§impl Clone for SessionStoreCapabilities
impl Clone for SessionStoreCapabilities
Source§fn clone(&self) -> SessionStoreCapabilities
fn clone(&self) -> SessionStoreCapabilities
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SessionStoreCapabilities
Source§impl Debug for SessionStoreCapabilities
impl Debug for SessionStoreCapabilities
Source§impl Default for SessionStoreCapabilities
impl Default for SessionStoreCapabilities
Source§fn default() -> SessionStoreCapabilities
fn default() -> SessionStoreCapabilities
impl Eq for SessionStoreCapabilities
Source§impl PartialEq for SessionStoreCapabilities
impl PartialEq for SessionStoreCapabilities
impl StructuralPartialEq for SessionStoreCapabilities
Auto Trait Implementations§
impl Freeze for SessionStoreCapabilities
impl RefUnwindSafe for SessionStoreCapabilities
impl Send for SessionStoreCapabilities
impl Sync for SessionStoreCapabilities
impl Unpin for SessionStoreCapabilities
impl UnsafeUnpin for SessionStoreCapabilities
impl UnwindSafe for SessionStoreCapabilities
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
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,
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
key and return true if they are equal.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more