pub enum BlobDeclError {
MissingColumn {
table: String,
column: String,
},
Sqlite(Error),
Changeset(ChangesetError),
InvalidSize {
table: String,
value: i64,
},
MissingHash {
table: String,
row_id: String,
},
ChangesetWalkMismatch {
old_count: usize,
new_count: usize,
},
MissingPublicationPrimaryKey {
table: String,
},
MissingPublicationRow {
table: String,
primary_key: String,
},
MissingPublicationBlob {
table: String,
primary_key: String,
},
PublicationBlobMismatch {
table: String,
primary_key: String,
changed_blob_id: String,
row_blob_id: String,
},
CloudPathNotKeyedByBlob {
table: String,
blob_id: String,
cloud_path: String,
},
WriteOnceBlobRepointed {
table: String,
blob_id: String,
},
}Expand description
Why building the blob-declaration model failed.
Variants§
MissingColumn
A declared blob column is absent from the table’s live schema.
Sqlite(Error)
A schema read (PRAGMA table_info) failed.
Changeset(ChangesetError)
A captured host changeset could not be read.
InvalidSize
A row’s declared size column is negative.
MissingHash
A row names a blob but has no content hash.
ChangesetWalkMismatch
New and old changeset walks produced different row counts.
MissingPublicationPrimaryKey
A blob-bearing INSERT or UPDATE has no primary key.
MissingPublicationRow
The transaction row named by a blob-bearing change is absent.
MissingPublicationBlob
The transaction row named by a blob-bearing change no longer carries a blob.
PublicationBlobMismatch
The transaction row carries a different blob than its change introduced.
CloudPathNotKeyedByBlob
A Replaceable blob’s readable cloud path does not
name the blob it carries, so the row’s next blob would be keyed at this blob’s
cloud object and overwrite it. See cloud_path_names_blob.
WriteOnceBlobRepointed
A WriteOnce row was repointed at a different blob.
Its cloud path is a stable readable name — that is what write-once buys — so the
new blob would be keyed at the old blob’s cloud object and overwrite it.