pub enum MigrationDriftFinding {
AppliedLedger {
diagnostic: Diagnostic,
},
LiveSemantics {
recorded: ManagedSemanticSchemaFingerprint,
observed: ManagedSemanticSchemaFingerprint,
},
DesiredDivergence {
head: ManagedSemanticSchemaFingerprint,
desired: ManagedSemanticSchemaFingerprint,
},
PendingMigrations {
pending: Vec<MigrationId>,
},
Capabilities {
diagnostic: Diagnostic,
},
}Expand description
One verified drift finding.
Every variant names the exact authorities that disagree; none carries a proposed repair.
Variants§
AppliedLedger
The applied ledger is not a valid downward-closed prefix/DAG frontier of verified history, or its frontier identifies no single state.
Fields
diagnostic: DiagnosticThe exact ledger validation failure.
LiveSemantics
The live managed semantics differ from the recorded frontier target.
Fields
recorded: ManagedSemanticSchemaFingerprintSemantics the applied frontier’s verified manifests recorded.
observed: ManagedSemanticSchemaFingerprintSemantics observed live under the same profile and scope.
DesiredDivergence
The desired schema semantics differ from the selected head target.
Fields
head: ManagedSemanticSchemaFingerprintSemantics the selected migration head reaches.
desired: ManagedSemanticSchemaFingerprintSemantics the desired schema declares.
PendingMigrations
Verified history extends beyond the applied frontier.
Fields
pending: Vec<MigrationId>Dependency-ordered identities not yet applied.
Capabilities
A verified manifest requires capabilities the context cannot meet.
Fields
diagnostic: DiagnosticThe exact capability negotiation failure.
Trait Implementations§
Source§impl Clone for MigrationDriftFinding
impl Clone for MigrationDriftFinding
Source§fn clone(&self) -> MigrationDriftFinding
fn clone(&self) -> MigrationDriftFinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MigrationDriftFinding
impl Debug for MigrationDriftFinding
impl Eq for MigrationDriftFinding
Source§impl PartialEq for MigrationDriftFinding
impl PartialEq for MigrationDriftFinding
impl StructuralPartialEq for MigrationDriftFinding
Auto Trait Implementations§
impl Freeze for MigrationDriftFinding
impl RefUnwindSafe for MigrationDriftFinding
impl Send for MigrationDriftFinding
impl Sync for MigrationDriftFinding
impl Unpin for MigrationDriftFinding
impl UnsafeUnpin for MigrationDriftFinding
impl UnwindSafe for MigrationDriftFinding
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
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<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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request