pub struct EmbeddingMutationObservation { /* private fields */ }Expand description
Durable mutation evidence observed after one generation source snapshot.
Implementations§
Source§impl EmbeddingMutationObservation
impl EmbeddingMutationObservation
Sourcepub fn new(
current_source: EmbeddingSourceState,
changed_distinct_uuids: u64,
relevant_committed_batches: u64,
structural_mutation: bool,
scope_proven: bool,
) -> Result<Self, SearchArtifactError>
pub fn new( current_source: EmbeddingSourceState, changed_distinct_uuids: u64, relevant_committed_batches: u64, structural_mutation: bool, scope_proven: bool, ) -> Result<Self, SearchArtifactError>
Validate one bounded freshness observation.
§Errors
Rejects changed UUID or structural evidence without a committed batch.
Sourcepub const fn current_source(self) -> EmbeddingSourceState
pub const fn current_source(self) -> EmbeddingSourceState
Current durable dependency projection.
Sourcepub const fn changed_distinct_uuids(self) -> u64
pub const fn changed_distinct_uuids(self) -> u64
Distinct UUIDs changed across relevant committed batches.
Sourcepub const fn relevant_committed_batches(self) -> u64
pub const fn relevant_committed_batches(self) -> u64
Relevant committed mutation batches since the recorded source.
Sourcepub const fn structural_mutation(self) -> bool
pub const fn structural_mutation(self) -> bool
Whether any relevant topology mutation occurred.
Sourcepub const fn scope_proven(self) -> bool
pub const fn scope_proven(self) -> bool
Whether mutation scope was proven from durable metadata.
Trait Implementations§
Source§impl Clone for EmbeddingMutationObservation
impl Clone for EmbeddingMutationObservation
impl Copy for EmbeddingMutationObservation
Source§impl Debug for EmbeddingMutationObservation
impl Debug for EmbeddingMutationObservation
impl Eq for EmbeddingMutationObservation
impl StructuralPartialEq for EmbeddingMutationObservation
Auto Trait Implementations§
impl Freeze for EmbeddingMutationObservation
impl RefUnwindSafe for EmbeddingMutationObservation
impl Send for EmbeddingMutationObservation
impl Sync for EmbeddingMutationObservation
impl Unpin for EmbeddingMutationObservation
impl UnsafeUnpin for EmbeddingMutationObservation
impl UnwindSafe for EmbeddingMutationObservation
Blanket Implementations§
impl<T> Allocation for T
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,
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.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§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> ⓘ
Converts
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> ⓘ
Converts
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