pub enum DatabaseImagePublicationErrorClass {
SourceChanged,
PrecommitRolledBack,
OutcomeIndeterminate,
}Expand description
Durable outcome class for a failed whole-database-image publication.
This classification is intentionally independent of FrankenError’s
human-readable std::fmt::Display text. Call
FrankenError::database_image_publication_error_class only on an error
returned by a whole-image publication surface. Within that boundary, every
failure has exactly one of these outcomes.
Variants§
SourceChanged
The source or guarded candidate generation changed before publication.
No candidate bytes should be reused without rebuilding or revalidating them against the winning source generation.
PrecommitRolledBack
Publication either stopped before source mutation or synchronously restored and verified the exact pre-publication source receipt.
The failed candidate can be discarded without outcome reconciliation.
OutcomeIndeterminate
The publisher could not prove whether the source or candidate image is durable.
Callers must retain recovery artifacts and reconcile from fresh, identity-bound handles before retrying or deleting the candidate.
Trait Implementations§
Source§impl Clone for DatabaseImagePublicationErrorClass
impl Clone for DatabaseImagePublicationErrorClass
Source§fn clone(&self) -> DatabaseImagePublicationErrorClass
fn clone(&self) -> DatabaseImagePublicationErrorClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more